753058fffd5cead5e6ebe7e81a9810cc4ca9ceea |
|
06-Mar-2015 |
Ricky Wai <rickywai@google.com> |
Add "get contact id and raw contact uri" callback Bug: 19551325 Change-Id: Iac18e5015fe78145551d7a60a17446a4a38b3be7
/frameworks/opt/vcard/java/com/android/vcard/VCardComposer.java
|
f4072640ccbebadbf7d22526a3fe76151769685b |
|
25-Sep-2013 |
Elliott Hughes <enh@google.com> |
This code hasn't used CharsetUtils since 2011. Time to let it die. Change-Id: I4ca551fc6bb7dac5c7fa4efd89448e0db9c78849
/frameworks/opt/vcard/java/com/android/vcard/VCardComposer.java
|
5fffd2ba2d7fc22271251251f89043ab345acd74 |
|
19-Sep-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Allow vCard users to format phone numbers by themselves Bug: 5348938 Bug: 4177894 Change-Id: Iff9461d8c71c5800b0731c3708867003d75bb395
/frameworks/opt/vcard/java/com/android/vcard/VCardComposer.java
|
846712bf3921bec5f0654f68e95df790b398acd5 |
|
13-Sep-2011 |
Martijn Coenen <maco@google.com> |
Add API for setting the raw contacts URI. Needed for when we are building vcards for a profile contact. Bug: 5300714 Change-Id: Ib4adc54d525ffaffe4d8955f4ba894d1a315099d
/frameworks/opt/vcard/java/com/android/vcard/VCardComposer.java
|
5f0f9e9f2d3e8b73beaf49d542e10fdec6fa199b |
|
21-Jun-2011 |
Martijn Coenen <maco@google.com> |
Relax URI checking on VCardComposer. URI may be extended with additional query parameters (e.g. user profile). Change-Id: Ie5ef1ca76709df26609960c12826668afb75ce21
/frameworks/opt/vcard/java/com/android/vcard/VCardComposer.java
|
56174dfd0654acbe828e4db38537ec5a3a04d466 |
|
17-Mar-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
remove legacy code. - remove createOneEntryLegacy() - remove OneEntryHandler Should be after - I3c5a58fef5a404b992a3c17578eeb63518294231 - Ie1eb516a8163febd4438e19df5bc0892726942cb - Ie21c8966b0bb5b73b3afd18bfe7c142b523413c4 Bug: 4066223 Change-Id: Id623814e8f5961aaf9cf9b4dcc92f75ace401148
/frameworks/opt/vcard/java/com/android/vcard/VCardComposer.java
|
8ed6de732dfb8bf8257152e5c5faf7e0ee760464 |
|
10-Mar-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
replace newer composeOneEntry method with older one. Apparently forcing users to use OneEntryHandler every time doesn't make sense. onInit()/onTerminate() capability can be implemented as users' preferance and shouldn't be mandatory. Just returning real vCard Strings would be more preferable. This breaks current API. We need additional modifications to three packages. - Ibaafdf4e0e1e01713b721d216102ae711db7ba74 - Icca2019b10fc84e437efbc2606cd5703b3ea0a5f - I2667a91d90b1ce985a354a5a37de75bb8156cff8 Bug: 4066223 Change-Id: I91b65f881e1712ecf82c2e119a92bc70c43c623c
/frameworks/opt/vcard/java/com/android/vcard/VCardComposer.java
|
677ef21613a9d35053ec098444832ce4125a847e |
|
08-Mar-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Reorganize codes, especially around vCard composition. - suppress misc warnings - stop using VCardException in vCard composer which has been used only in test context - add VCardComposer#createOneEntryNew(). I'm planning to replace this with old VCardComposer#createOneEntry() I don't understand why we have callback mechanism for this kind of simple stuff. I could have been better on this. - add some documentation - mark initWithRawContacsEntityUri() (introduced recently) as deprecated. That was not a good idea =( Bug: 4066223 Change-Id: Ib533a435cac3b4e4fa31527d02b0657fc4bd0377
/frameworks/opt/vcard/java/com/android/vcard/VCardComposer.java
|
7e4e86eb5ad2c8a68ca7005ef4dee64a82ce0198 |
|
03-Mar-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Tiny refactoring, clean up. - isolate test-related stuffs - suppress warning - let constructor accept ContentResolver, which is useful when test has custom ContentResolver apart from Context object. - prohibit multiple init() calls Change-Id: I0da5af56bf04e8eafbef376668a09002cb62d3f5
/frameworks/opt/vcard/java/com/android/vcard/VCardComposer.java
|
a11303ccb430ca40210900823807027cc842bf6c |
|
03-Mar-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Make vCard available without hidden APIs. Must be with I4b529a8805b1b0e219c16e93242b102659e8f2e7 Bug: 3143497 Change-Id: I0f90270fb13d13f56b70a07638271b22a065cedd
/frameworks/opt/vcard/java/com/android/vcard/VCardComposer.java
|
91ff68b93f7a623f168697ebdb895daea3542579 |
|
22-Feb-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Refrain wrong Writer#flush() call. - We cannot rely on finilizer ordering: FileOutputStream may be released before HandlerForOutputStream - Writer#flush() call in finalizer may lock file system for a long time (10> secs), which will let the VM assume there is deadlock - Writer#flush() will be called from Writer#close() so we don't need to call it explicitly. - There's a race condition between VCardComposer.finalize() and FileOutputSteram.finalize() since they may be called concurrently. - Use CloseGuard for detecting missing terminate() call. Change-Id: I1ddcaf2c4564476e81dc67d3ec6ec1c947872a84
/frameworks/opt/vcard/java/com/android/vcard/VCardComposer.java
|
9919ad2126c06dbf2eb54a11e6158f87f316bc22 |
|
10-Feb-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Stop using private APIs as much as possible. - remove CharsetUtils stuffs - remove private APIs in PhoneNumberUtils/TextUtils. We keep the hidden flag "Data.FOR_EXPORT_ONLY", so this code still needs access to private API. We don't remove it right now since we may still need it while we confirmed that the other stuffs are "ok" to be removed. Some more investigation will be needed in the future to remove the flag. Bug: 3143497 Change-Id: I074a7798d2208c3e14a524bd5f307a91ac50f735
/frameworks/opt/vcard/java/com/android/vcard/VCardComposer.java
|
da2f6ef422b360827f2c5231552d8c9fad0ed8b1 |
|
23-Jan-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Let the lib use properties in 4.0 rev 15 Change-Id: I048614aef9ec32cb124d057693dfe6d037a2223e
/frameworks/opt/vcard/java/com/android/vcard/VCardComposer.java
|
8c1cdbbccd5169122c183f6fbfd4436faacf2a1d |
|
13-Sep-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Add FLAG_REFRAIN_IMAGE_EXPORT support. Bug: 2603200 Change-Id: I033a195e1d6860dda149eae14f81f1e02a73b200
/frameworks/opt/vcard/java/com/android/vcard/VCardComposer.java
|
422643669a44d08ca8b22a73286fae988a288b0e |
|
08-Sep-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Add SIP export support for vCard 3.0 and 4.0. Change-Id: I5adc7d375b79c8ae9671938c78f9bdc57075aa28
/frameworks/opt/vcard/java/com/android/vcard/VCardComposer.java
|
be378d5b188f51cf717e5309e3c39180e85833a8 |
|
02-Jul-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Add a first implementation for vCard 4.0. TODO: need unit tests. Bug: 2794181 Change-Id: I6be681f79479e9d6d436895e1b5539af54539f9c
/frameworks/opt/vcard/java/com/android/vcard/VCardComposer.java
|
4199c54c527330ac01699b176e7bca186a3aa3a4 |
|
04-Jun-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Move vCard code in platform/framework/base to platform/framework/opt/vcard. See also 33m4347ad6 in platform/framework/base. Bug: 2735156 Change-Id: I64b1bd42515a32b354396a030ec77d1ea3c5a08c
/frameworks/opt/vcard/java/com/android/vcard/VCardComposer.java
|