b1361f9f379001fd27511c80655c52dd70a15122 |
21-Feb-2016 |
Sailesh Nepal <sail@google.com> |
Add gradle build file for ContactsCommon Note, because the code now builds as a library project, resource IDs are no longer final. This means that they can't be used inside switch statements. Fix was to change everything to if statements. Bug: 26676586 Change-Id: Ia4bee80783ab6b6f34c9b19e78f3b475dbea00b0
ccountSelectionUtil.java
|
96331bb745d4f20dd4f955aa0645b7ec4c322a17 |
06-Feb-2016 |
Brandon Maxwell <maxwelb@google.com> |
Merge "Updating preferredName methods to accept ContactsPreferences"
|
fb109a3b4aed6df8cc4553e859f1ae510e00d102 |
05-Feb-2016 |
Brandon Maxwell <maxwelb@google.com> |
Updating preferredName methods to accept ContactsPreferences Rather than accepting an int, this method accepts a nullable ContactsPreferences object to abstract the null checks that would otherwise be needed everywhere these utility methods are used. Bug=26822105 Change-Id: Id41a182a70098ab2898938588f86f54e16c597b7
ontactDisplayUtils.java
|
06ef3fbadf004a548de94ded6e8f6153128becb0 |
04-Feb-2016 |
Sean Liu <guanxiongliu@google.com> |
Merge "Formatting the phone number to make it pretty printed without user editing"
|
4f9efbae2bab525466815791293c62dd93f7f607 |
02-Feb-2016 |
guanxiongliu <guanxiongliu@google.com> |
Formatting the phone number to make it pretty printed without user editing Bug:22851692 Bug:26754145 Change-Id: Ic166b2200fc5813d56707c2dcf28892bc1cdfca5
honeNumberFormatter.java
|
e56cdf5d1e293daf881a3fe41c42ec9a193c3165 |
30-Jan-2016 |
guanxiongliu <guanxiongliu@google.com> |
Deleting obsolete code and changing code structure since we stop prompting user to add account when no account available Bug:25161189 Change-Id: Ie8541089ecef3a2e8e4ab5d5d61c954bc64dd953
mplicitIntentsUtil.java
|
f8cca0aa9dc922c4c3071834eda3aa33e154f7f2 |
22-Dec-2015 |
Wenyi Wang <wenyiw@google.com> |
Backport ContactsContract methods (2/2) The methods are: 1. CommonDataKinds.Event.getTypeLabel 2. Contacts.isEnterpriseContactId Another change is using RectF instance to call drawOval() because drawOval(RectF oval, Paint paint) was available on Kitkat. The last change is using PhoneNumberFormattingTextWatcher() on pre-L. Bug: 25629359 Change-Id: I8a86286b05a80112c2156130d100afe7c50eb07c
itmapUtil.java
honeNumberFormatter.java
|
e0bb103a1403d3657cafb27cda6dc6b5fb1d5462 |
16-Dec-2015 |
Wenyi Wang <wenyiw@google.com> |
Backport setter methods The following methids were added in API level 21 and we have to ignore them on older SDKs: 1. setOutlineProvider 2. setTranslationZ 3. setElegantTextHeight 4. setOverlay View.setTranslationZ could be replaced with ViewCompat.setTranslationZ, but that method basically ignores the attribute on older SDKs, which is equivalent to our approach here. In addition, we backport setImageTintList by applying tint to a drawable and setting the drawble to ImageView. Bug: 25629359 Change-Id: I3c5f7fe972cc0a5f7c8ab67581b0e68c3cdad35b
iewUtil.java
|
3abf10065b24373b3d6e46ed3c7f34af2b4639fb |
18-Nov-2015 |
Wenyi Wang <wenyiw@google.com> |
Copy TTS code for backporting (1/2) Bug: 25629359 Change-Id: Ic70bd512cfbe7bdf8af21295ee7433749b7fc458
ontactDisplayUtils.java
|
ce37f401ca4cb33d64c106a5dfa425457b7746af |
19-Nov-2015 |
Nancy Chen <nancychen@google.com> |
Handle backwards compatible permission lookup and requests (2/3). requestPermissions is not available to the Activity class and checkSelfPermission is not available to the Context class in API < 23. Use other backwards compatible methods to implement the behavior. Bug: 25776171 Change-Id: I65bf676fbf7dc9b079dcc6894ec3750bc0e12fe2
ermissionsUtil.java
|
a7dd941bdff008183fb63583da8df57fad802a3c |
06-Nov-2015 |
Ta-wei Yen <twyen@google.com> |
Add getTtsSpannedPhoneNumber() to ContactDisplayUtils Change-Id: I5bc09a6e459fee8d522481c1c42cca4c892bbfde
ontactDisplayUtils.java
|
d80e3bbb55a9cc093affc15b1d4ff5e7262fa4ad |
04-Nov-2015 |
Wenyi Wang <wenyiw@google.com> |
Change title string of account selection dialog when importing contacts In addition to the string change, this CL also fixed a TODO in one of the two dialogs using the string. Bug: 25476465 Change-Id: I8ad2a00446ae776c7e97b38462edfac7d4728401
ccountSelectionUtil.java
|
74a99cb36dd63c90164b4fe92c273e90a20409a7 |
04-Nov-2015 |
Wenyi Wang <wenyiw@google.com> |
Change padding in account selection dialog (2/2) This CL fixes the padding in account selection dialog opened when importing contacts. The account_selector_list_item_condensed.xml is created based on account_selector_list_item.xml and with unique margin settings. This is because account_selector_list_item.xml was used in 3 places, and it didn't align well with the importing contacts dialog. Screenshots: https://drive.google.com/a/google.com/folderview?id=0BwSNbQ_IWQd2Zlh0OExxSkJtQ0U&usp=sharing Bug: 22292872 Change-Id: I98f3093dd20bf87354676647355984d1427e21af
ccountsListAdapter.java
|
3ee5a12697447e9ade02d69aea4d466be73bb86a |
31-Oct-2015 |
Brandon Maxwell <maxwelb@google.com> |
Adding method to choose namePrimary or nameAlt for sorting purposes Change-Id: Ic0a1a6d9fc378a68bad6368a65b54c999878f462
ontactDisplayUtils.java
|
925814851fa2b0f903a471a38dadbe685d42120d |
30-Oct-2015 |
Brandon Maxwell <maxwelb@google.com> |
Adding util to consolidate primary/alternative name choice Change-Id: I61489f896436415b80484a69392c0cf2e111b6c0
ontactDisplayUtils.java
|
78d58892b58555f7a7e360e34821ea6d29128e6d |
27-Aug-2015 |
Roshan Pius <rpius@google.com> |
resolved conflicts for merge of 7b5df2ab to master This method has been removed from master since we're now using API PhoneUtils from Telephony instead of this one. Change-Id: I3532078089b519a48df25e70c0a6f2584d45e3ea
|
b75762d4efe72e92221ba4b5ef5db121393647c1 |
24-Aug-2015 |
Roshan Pius <rpius@google.com> |
Replace country code with 0 for Korean carriers. Korean carriers don't want the country codes displayed for local calls. However the network returns the entire phone number including the country code for Volte calls. According to the Koean phone numbering scheme (https://en.wikipedia.org/wiki/Telephone_numbers_in_South_Korea), we need to replace the country code +82 with a 0 prepended to the carrier code to format it as a national number. BUG: 22862845 Change-Id: I4f09af9869c78db82fbdfdfdf7c121dfb2fd44f4
honeNumberHelper.java
|
1f791ea398e92dbe1302ba4ce92b9d50c3175144 |
21-Aug-2015 |
Yorke Lee <yorkelee@google.com> |
Remove unneeded PhoneNumberHelper methods These methods have been made public API in PhoneNumberUtils Change-Id: I637e2b8667e29cee859c670b9bb988e4ee20eb1e
honeNumberHelper.java
|
a4e1829625be913e69ba52976a97b4f1875eb039 |
04-Aug-2015 |
Tyler Gunn <tgunn@google.com> |
Add "call with a note" resources Note: UX resource for ic_call_note_while; UX needs to send me proper version in all resolutions. - Added new CallSubjectDialog class to display the call subject dialog. - Moved getLookupKeyFromUri from Dialer into UriUtils. - Note: Limit of 16 chars is in place until b/22806380 is resolved. Bug: 22685114 Change-Id: I9744765c3bbc6672a400fe3d1522c5af1b793781
riUtils.java
|
97a75660be6111449d7eeb85e8ce7cbabc8b4c99 |
24-Jul-2015 |
Yorke Lee <yorkelee@google.com> |
Add utility method to check for AppOp Bug: 22660372 Change-Id: Ica4750e9ad36a097ec66dcba3f9c6a106f456897
ermissionsUtil.java
|
b1a8483c73016e357e6aef73fc5adea410766586 |
18-Jul-2015 |
Yorke Lee <yorkelee@google.com> |
Merge "Add utility methods to listen for permission granted broadcasts" into mnc-dev
|
f33d1a718271e2eecd1316d88f5727be8a6da455 |
18-Jul-2015 |
Yorke Lee <yorkelee@google.com> |
Add utility methods to listen for permission granted broadcasts Bug: 22174668 Change-Id: I527bec3e607b0677c587c704333216ecdabe7558
ermissionsUtil.java
|
76d303fa5fa2ff107f0c233dd195787c9ed0b48b |
14-Jul-2015 |
Walter Jang <wjang@google.com> |
Merge "Allow the user to select the vcards to import" into mnc-dev
|
ed2a24cb0a9f207e4f1211cfff51bd8e6bcfad90 |
14-Jul-2015 |
Walter Jang <wjang@google.com> |
Allow the user to select the vcards to import Rather than always scanning for .vcf files in external storage This is the flip-side to b/22453182 where we changed to allow the user to select the destination for vcard export so that we could remove the WRITE_EXTERNAL_STORAGE permission. Additionally, we change the import/export options in the dialog to read "Export to .vcf file" and "Import from .vcf file" since the previous text (Just "Export" and "Import from external storage" are not accurate. Note, we continue to support importing from multiple .vcf files at once but we no longer need our own dialog to present those options to the user. Bug 22454038 Change-Id: I1a145f00f07c4c0f547c38d720c109197baab833
ccountSelectionUtil.java
|
743c2802d359de01ce597e73dfcd4742fc1e3344 |
13-Jul-2015 |
Yorke Lee <yorkelee@google.com> |
Don't cache results of permission check For maximum safety, always check the current permission status on the fly. Bug: 22455059 Change-Id: Ib5cfd9fe1ab6222ff1d67354cb1ebb9bcd46873f
ermissionsUtil.java
|
65c82adbdbb0b7cb0dfb09257384d6f2e01b6342 |
02-Jul-2015 |
Yorke Lee <yorkelee@google.com> |
Correctly recache permission status Bug: 22205650 Change-Id: I356d202a76f48ba76a815d533c163cefcb85a596
ermissionsUtil.java
|
9f71eb7a8de1f49454461497a3baa898d4b91c24 |
03-Jun-2015 |
Brian Attwell <brianattwell@google.com> |
Merge "Rename PhoneNumberUtils APIs" into mnc-dev
|
c30de25fea532591e85c33966e04aa1443710eab |
02-Jun-2015 |
Brian Attwell <brianattwell@google.com> |
Rename PhoneNumberUtils APIs In response to more API review. And removed unneeded permission from RequestPermissionsActivity. Bug: 21571895 Change-Id: Ia1fa69da07a3427997919ba61c77fcbad7e79f2a
ontactDisplayUtils.java
|
48a393e750f69a7cde240e8596d645b5898ccc0a |
28-May-2015 |
Yorke Lee <yorkelee@google.com> |
Add TrafficStatsTag to ContactPhotoManager Bug: 21423350 Change-Id: I50ee4993a95d7f81229dacd2ae0be4a5c16ce2cf
rafficStatsTags.java
|
4f76e61f8e0a0cf48a0f80fa9ec0ea60adbf536f |
21-May-2015 |
Yorke Lee <yorkelee@google.com> |
Handle some runtime permissions in ContactsCommon Add utility methods to check if a permission group has been granted at runtime. Perform checks before executing certain functionality (CountryDetector, Clear frequents dialog, preload of photos in ContactPhotoManager). Bug: 20266292 Change-Id: I0dd3d82d69780b7d3243579eb5b09f96104c1c1f
ermissionsUtil.java
|
1ab906190601a21ef705da40d7d5fba4ca808b26 |
17-Mar-2015 |
Makoto Onuki <omakoto@google.com> |
Merge "Do not cache non-contacts URI in calllog provider. (1/2)"
|
866f65b8995ce4b242b35b42f652495376b1ef5f |
11-Mar-2015 |
Jay Shrauner <shrauner@google.com> |
Fix NPE in getRoundedBitmap Check for null (ie, non-native) bitmap config. Bug:19676488 Change-Id: I7839503d3a96c3e23d8147cad623bb84e86646f8
itmapUtil.java
|
2782c07c0eb9a78a877effc3aeae8e87d41c3a3d |
10-Mar-2015 |
Makoto Onuki <omakoto@google.com> |
Do not cache non-contacts URI in calllog provider. (1/2) Bug 19546108 Change-Id: Ibf46ee11f857a7152130f1b0466edde7322d68f8
riUtils.java
|
43c875a9b1510892558340e5802993e4dab26921 |
04-Mar-2015 |
Brian Attwell <brianattwell@google.com> |
Set class name correctly ResolveInfo.getClass() returns ResolveInfo.class. We want the class name contained inside ResolveInfo. Not ResolveInfo.class. This line isn't necessary. I added it at the last minute for performance and didn't test it. Embarassing. Bug: 19505368 Change-Id: I82ef33227e6cb73b3b706dc50f0c4577664fbbba
mplicitIntentsUtil.java
|
699338b32ffceeb4908b327d5d96f5325b1976ea |
04-Mar-2015 |
Brian Attwell <brianattwell@google.com> |
Don't let queryIntentActivities cause crash Also, use PakageManager.MATCH_DEFAULT_ONLY. This restricts the ResolveInfo to the list that would have internally used by startActivity. Bug: 19597471 Change-Id: Id9aea18801c55f81cc20341588f94b82289c9f14
mplicitIntentsUtil.java
|
6084957f19cf42bc7ccbbefaabfd0f96ef376587 |
26-Feb-2015 |
Brian Attwell <brianattwell@google.com> |
Don't use ImplicitIntentUtils for explicit intent Bug: 19524362 Change-Id: Ief17e212e8e92ac500d3af5fe7f17adbfc2e6dd5
ccountSelectionUtil.java
|
5a8dc08da63762d69b71938b45ccb96ad4076a00 |
20-Feb-2015 |
Brian Attwell <brianattwell@google.com> |
Avoid senseless disambiguation #1/2 This makes having two contacts apps on the same device tolerable. Bug: 18777272 Change-Id: Ib75eadfb94eee2c5c8305747eddd01ba9a8b1dc4
ccountSelectionUtil.java
mplicitIntentsUtil.java
|
941090ea5f2cd169038bd9f6c2811d6bc12db6a5 |
05-Feb-2015 |
Brian Attwell <brianattwell@google.com> |
Use unhidden PhoneNumberUtils TtsSpan methods Bug: 18777272 Change-Id: Ie6d19e39176d06da0c039e6e056bdbc438cc3ccd
ontactDisplayUtils.java
|
90b8b6dfa7ee6ab6f2e473ea3cfa7d80e526bf9a |
03-Feb-2015 |
Brian Attwell <brianattwell@google.com> |
Don't use hidden INVALID_SUBSCRIPTION_ID Alternatively, I could unhide INVALID_SUBSCRIPTION_ID. However, the affected code doesn't actually need to know the value of SubscriptionManager#INVALID_SUBSCRIPTION_ID. ContactsCommon simply uses INVALID_SUB_ID when the value for subscription ID doesn't matter, because we know the mSubscriptionId value won't be read later. Bug: 18777272 Change-Id: I473ef361ae6cfa3a1484c38ca3aed88cc0b5d6d1
ccountSelectionUtil.java
|
a2d2597c23ce27587b5a9b320a095851b9f78d97 |
18-Dec-2014 |
Brian Attwell <brianattwell@google.com> |
Don't rely on removed pattern character definitions These pattern characters were removed from the API, since using their underlying values is easier. See commit that deprecated them: https://android.googlesource.com/platform/frameworks/base.git/+/8326b9a429b63b680aa9af116c670ce674744d80 #unbundling Bug: 18777272 Change-Id: Id2c6bd415cf3624d2c981f7a05666f38a9fb9f9f
ateUtils.java
|
4e3a17eaeced54b154b76a42d050fdd9b4ac7c02 |
04-Dec-2014 |
Jay Shrauner <shrauner@google.com> |
Fix package manager TransactionTooLargeExceptions Change ExternalAcountType.loadContactsXml to use PackageManager.queryIntentServices to avoid grabbing too much data back. Change LocalizedNameResolver.resolveAllContactsNameFromMetaData to use loadContactsXml. Bug:18607092 Change-Id: I9c31615fc3f7e363612b127f54f2c6cb5a6d44d9
ocalizedNameResolver.java
|
a639a24cd7a720761b58d347366a4d46e89db3e0 |
01-Dec-2014 |
Yorke Lee <yorkelee@google.com> |
Merge "Make MaterialPalette parcelable" into lmp-mr1-dev
|
9824b1a62110f2ee9caefa8ede7d213c176ca012 |
27-Nov-2014 |
Yorke Lee <yorkelee@google.com> |
Make MaterialPalette parcelable Makes it easier to pass it around in intents Bug: 18373617 Change-Id: I16d235b710dc6c0906c60bf936c7e069a086ca6a
aterialColorMapUtils.java
|
2f3fd5f7b5ee3ef74362509ef596063cea122f89 |
25-Nov-2014 |
Jay Shrauner <shrauner@google.com> |
Fix int/long mismatch for import from SIM Make subscription id an int everywhere. Bug:18524128 Change-Id: I33e443603acb4fbf6d67697b289d99b57ff0bbcd
ccountSelectionUtil.java
|
ff95fe1ca9cc570acc41c9335a6cdeecfd851e44 |
22-Nov-2014 |
Wink Saville <wink@google.com> |
Additional changes to SubscriptionManager API as per API council. bug: 17575308 Change-Id: Idd98aa46c15a9219ccf28091c62602ac8bf16c62
ccountSelectionUtil.java
|
426b4719d8c1d42990225fc49c3851112471f098 |
20-Nov-2014 |
Wink Saville <wink@google.com> |
Revert "Additional changes to SubscriptionManager API as per API council." This reverts commit a63ae799821744f941a1f2d43850372199e075e8. Change-Id: I30d9b82aeaff5595fe952313b5728fb9f6c2c076
ccountSelectionUtil.java
|
a63ae799821744f941a1f2d43850372199e075e8 |
16-Nov-2014 |
Wink Saville <wink@google.com> |
Additional changes to SubscriptionManager API as per API council. bug: 17575308 Change-Id: I7773965094510999bfce8fc6b2b31ba6ce496653
ccountSelectionUtil.java
|
b63b46aafc9d62ffd40ec3ce00a4b80c8720c21b |
03-Nov-2014 |
Walter Jang <wjang@google.com> |
Guard against null messages when constructing telephone ttspans Bug 18217519 Change-Id: I1903422f285831b66eeb39787cc5a7898a3800b1
ontactDisplayUtils.java
|
1f9156dbfdfd36ab60896034aed275dda269bc00 |
30-Oct-2014 |
Nancy Chen <nancychen@google.com> |
Merge "Making a subclass for InCallUI uses of MaterialColorMapUtils." into lmp-mr1-dev
|
d4c540b696b2575f32b3bb9f7f34248ea18c37b4 |
16-Oct-2014 |
Walter Jang <wjang@google.com> |
Set TtsSpans on names and snippets that could be phone numbers Bug: 17322140 Change-Id: I9afa9c59e1db6c5ad7123bdb37d288fa64faeddf
ontactDisplayUtils.java
|
70c9f3879a18eef57cd13720045a645ac81c3db8 |
29-Oct-2014 |
Nancy Chen <nancychen@google.com> |
Making a subclass for InCallUI uses of MaterialColorMapUtils. Removing a method previously used for InCallUI in favor of creating a subclass. Bug: 17971273 Change-Id: I1c6c1654a14398940a58f29f10fc17b00d62f76c
aterialColorMapUtils.java
|
dec173e8f92b8bf3e7864f9931ae0ab75eff9bc6 |
27-Oct-2014 |
Nancy Chen <nancychen@google.com> |
Extract default InCallUI colors for display. Because we are now dynamically setting the InCallUI color, we need to be able to get the default InCallUI color for display. Bug: 17971273 Change-Id: I99101510662dcd920228ae6275bed35646d807c6
aterialColorMapUtils.java
|
d09e43ca0bd57c25cbd4e4a87bff0b9fc10a1459 |
23-Oct-2014 |
Wink Saville <wink@google.com> |
Change subId to int from long Change-Id: Idae6335e63e7b1e4e714bc17e71b1a4705e38474
ccountSelectionUtil.java
|
059c4ca91db79d64d1d7f831991d40575bd4fb52 |
20-Oct-2014 |
Yorke Lee <yorkelee@google.com> |
Merge "Add method to BitmapUtil to return cropped + round photos" into lmp-mr1-dev
|
377ee9b6bd3429e790bdcf3f84f05ace234b5e8d |
18-Oct-2014 |
Yorke Lee <yorkelee@google.com> |
Add method to BitmapUtil to return cropped + round photos Bug: 18021170 Change-Id: I89315dfc7787d37cd622b89ac83f852eb89ce527
itmapUtil.java
|
9524fd1d86a83d323b2c5fc7a57667906ced827c |
06-Oct-2014 |
Brian Attwell <brianattwell@google.com> |
Allow importing contacts from mulitple sims There are multiple options we may need to display under Import/Export for SIM cards 1. If only one sim card, display "Import from SIM" option 2. If multiple SIMs, display "Import from SIM, <name> - <phone-number> for each sim subscription. 3. If a sim subscription doesn't have a known phone number, display "Import from SIM, <name>" for the sim subscription. Bug: 16525652 Change-Id: I73b3c45be116c75d597727f4b31ccf2d0e61c623
ccountSelectionUtil.java
|
40eca65db3fc664391d1475639ae96b43e4bbc49 |
17-Sep-2014 |
Santos Cordon <santoscordon@google.com> |
Use PhoneNumberUtils directly to get emergency number. (1/2) Bug: 17520392 Change-Id: I49399ab99229ea9bf1b3c1f9cb4766399a8849a9
honeNumberHelper.java
|
5bdf8ce03eb96b446d55562a39f549a3e671f5c6 |
29-Aug-2014 |
Brian Attwell <brianattwell@google.com> |
Fix tablet padding of ContactPickerFragment The ContactPickerFragment marks its ListView View.GONE until data is finished loading. This would cause the ContactListViewUtils to perform incorrect measurements. Change ContactListViewUtils to measure the root view instead. Bug: 17305317 Change-Id: I7d6d723fc95ff3d1dbfd5f7311ee38743c072245
ontactListViewUtils.java
|
84a652ef252493066a8e09fd5110472158e7b568 |
28-Aug-2014 |
Brian Attwell <brianattwell@google.com> |
Apply card padding when fragment becomes unhidden Refactor ContactListViewUtils to reduce copy and pasting. Apply padding inside ContactEntryListFragment#onHiddenChanged(). Bug: 17303217 Bug: 17135027 Change-Id: I8f972f1a503fdbf7561aea1c5fef9316c49a0bac
ontactListViewUtils.java
|
6b193c65504b0199eeab83dc8706c29d81477bcb |
28-Aug-2014 |
Brian Attwell <brianattwell@google.com> |
Fix EdgeEffect clipping in contact scrollers Bug: 17318701 Change-Id: I5fc5b25aba44bbe757876a1233db6773da2a6a81
ontactListViewUtils.java
|
87e29f060b8fe7a1f8794955ded14617214af0ed |
26-Aug-2014 |
Zheng Fu <zhengfu@google.com> |
Adding common contact list view and card layout Bug: 16553819 Bug: 17157006 Change-Id: I498b3de918a98b59e589e5216ea6ae3a0d3902a7
ontactListViewUtils.java
chedulingUtils.java
|
eb1efda8fe95c00fb1b5bc6b40b57ce4c8ace050 |
07-Aug-2014 |
Brian Attwell <brianattwell@google.com> |
Add RECT_OUTLINE_PROVIDER to ViewUtil This can be used to enable shadows on transparent views. Bug: 16856049 Change-Id: Ie1ddd46ff6963ae79e190a94be184ea339524411
iewUtil.java
|
e1462858348c5bad8bf48b5e37d2a499ba6c7490 |
18-Jul-2014 |
Chris Craik <ccraik@google.com> |
Update Outline API Change-Id: Ied10f67bbff2321481478797efb978b2a35c5088
iewUtil.java
|
d4d290d39d14e17683ec86b07a150c9df35505ae |
15-Jul-2014 |
Brian Attwell <brianattwell@google.com> |
Updated LetterTileDrawable colors. Now that LetterTileDrawable colors are the same as the colors used by MaterialColorMapUtils, I unified the colors inside colors.xml and was able to delete some MaterialColorMapUtils code. BUG: 15889179 BUG: 16159407 Change-Id: I02b96011a30def913fb1de589aeb7a8c336e2154
aterialColorMapUtils.java
|
d585ac1c9ea385751b69897a9efb907655296f66 |
15-Jul-2014 |
Yorke Lee <yorkelee@google.com> |
Copy Color.hue to materialColorMapUtils Color.hue is a private API and has been pending API approval since 2009. Copy its implementation into our codebase since it is unlikely to ever change. Bug: 6948882 Change-Id: I9c411351b6c236f5583104f23d74191ea04a227a
aterialColorMapUtils.java
|
d9a32d45b3b884ceb236fc8793d5558916f8ccf4 |
12-Jul-2014 |
Chris Craik <ccraik@google.com> |
Merge "Move from old setOutline() api to setOutlineProvider()"
|
753f106862d1f4625fa7736a6e01c6173d6a2f48 |
12-Jul-2014 |
Chris Craik <ccraik@google.com> |
Move from old setOutline() api to setOutlineProvider() Change-Id: I4cd665da579bd9f7a1730be2459b1b78d2403ddd
iewUtil.java
|
528cb5eae10cc221cdc989035b0dc5e21f09684b |
11-Jul-2014 |
Brian Attwell <brianattwell@google.com> |
MaterialColorMapUtils Bug: 16159407 Change-Id: I234d709f47bd0a32e3ac0130457290e0cd9fbf84
aterialColorMapUtils.java
|
612b408f55e4a42635925c52f93c4b8f1a0916a7 |
02-Jul-2014 |
Ihab Awad <ihab@google.com> |
Fix references to two constants The names of two constants missed getting updated in a previous CL, causing a build breakage. Change-Id: I2dec3d91f79aa74f24d84324569cda95c7e455c4
ocalizedNameResolver.java
|
ad12d04e15a8a66c43893fb29cf08649bd0b675e |
01-Jul-2014 |
Ihab Awad <ihab@google.com> |
Rename Telecomm "Subscription" to "Account" (2/7) Change-Id: I73cd3d1a2e7ae12f2e8d94f0a093c6d91bf7c912
ocalizedNameResolver.java
|
31455929011ffd2d463afcd4e1443c887e3f4a70 |
02-Jul-2014 |
Jay Shrauner <shrauner@google.com> |
Fix NPE in isEncodedContactUri Check for null return from getLastPathSegment Bug:16034483 Change-Id: Ide3cd794bb7702465814c86b1eb406242eba9149
riUtils.java
|
94190218ebf48af6009425da44ea49b2b9c75fbe |
02-Jul-2014 |
Andrew Lee <anwlee@google.com> |
Cleanup: PhoneNumberUtils.isVoicemailNumber is now public. This code isn't needed anymore (?). It seems to follow a very similar codepath, except for this uses extractNetworkPortion instead of extractNetworkPortionAlt. I think it seems safe enough to cleanup? Change-Id: I6b626fa7797ead5f5eeb9456589805694055f037
elephonyManagerUtils.java
|
6d854d12ee43940c59bff06558f391a24fa1eb23 |
02-Jul-2014 |
Andrew Lee <anwlee@google.com> |
Add method to check whether telephony has a video call subscription. This is a stub to unblock VoLTE development while other refactoring happens. Still need to implement this later. Bug: 16013178 Change-Id: I64d11b0f88772047fb15521bf765d6008d0e5076
elephonyManagerUtils.java
|
9898653a29143ca3a595821aaa85ca89bba155bf |
12-Jun-2014 |
Paul Soulos <psoulos@google.com> |
Move rotateDrawable to ContactsCommon Change-Id: Ib3ee75d667a65490cd85305cea11a6be1f07404c
itmapUtil.java
|
a6a0acc4947739512b2bcc58262b19e53723704c |
10-Jun-2014 |
Tyler Gunn <tgunn@google.com> |
Removing flawed "getTodayString" and "getYesterdayString" methods. These methods made assumptions of how getRelativeTimeSpanString works that were incorrect. Bug: 15541650 Change-Id: Ibdba688587b21d5fc547832ebee0997fc290c9fb
ateUtils.java
|
fdd85fe5ec18f621610fc45f84c427c5e88d19f8 |
23-May-2014 |
Yorke Lee <yorkelee@google.com> |
Add FAB utility method and dimension to ContactsCommon Bug: 15164687 Change-Id: I8d288989ba878bea34970c3e58775e8ee89c631a
iewUtil.java
|
c0b94eb2be0da73ee546c6a7bdd99ab60334d1fc |
15-May-2014 |
Tyler Gunn <tgunn@google.com> |
Adding day group headings in the call log which group call log entries under 4 headings, "Today", "Yesterday", "Last week", "Other". Bug: 13962594 Change-Id: Iba10211c1f6e162309063f9944b437c543013b7f
ateUtils.java
|
977f09765a1c4b6feafda1e8c0d7a1d21720061a |
25-Apr-2014 |
Yorke Lee <yorkelee@google.com> |
Use ShapeDrawable for floating action button. Framework support for providing an outline for ShapeDrawables is currently still broken, so continue manually assigning an outline to the floating action buttons. Change-Id: Id068fda523970de4c38ca4d3c0de4b5e8fa35832
iewUtil.java
|
7a8c2c3448395dac5aeb97260c755fa61700b737 |
24-Apr-2014 |
Andrew Lee <anwlee@google.com> |
Move floating action button constants and helpers to ContactsCommon. - Move constants from Dialer to ContactsCommon. - Move configure method from DialtactsActivity to Viewutil. Bug: 13956531 Change-Id: I7013315a8bff25eb8137cd777fa9748b49ad8d4e
iewUtil.java
|
0fe56533e7dbb3be29ea4a816665da8e8833103b |
11-Apr-2014 |
Yorke Lee <yorkelee@google.com> |
Make sure country code is uppercase getNetworkCountryIso returns a lowercase country code, causing number parse exceptions when using PhoneNumberUtils.parse to try and format and geocode an unknown phone number. Bug: 13971546 Change-Id: I0112df7a6053b8d3fb2d63597977d20a02b33b4b
elephonyManagerUtils.java
|
23fe38b225346526e3f425570f3648dd7d893a5d |
28-Jan-2014 |
Jay Shrauner <shrauner@google.com> |
Fix potential NPE with null cursor Detect and handle null cursors returned from CP2 queries. Bug:12767708 Change-Id: I7bc4f97848a59140aba5a2c924c79fdc2749b150
ameConverter.java
|
3aa2cb56ece8461f2df69d9300c9a1abf03f6989 |
26-Nov-2013 |
Yorke Lee <yorkelee@google.com> |
Remove private references to android.R.styleable Define these framework attributes in our own attr.xml and use as necessary Bug: 6948882 Change-Id: I6862451133844251315dafeffd1921720eeb4964
ocalizedNameResolver.java
|
d991dc8bdbce22818d3e1da9245ad277ee9c309d |
08-Nov-2013 |
Sailesh Nepal <sail@google.com> |
Merge "isLocalEmergencyNumber: Add null check"
|
5b9524ea90eb94012d274e34bab285fe6d2a6db7 |
08-Nov-2013 |
Yorke Lee <yorkelee@google.com> |
am 4f7a1ca4: am d8467baa: am 589bf503: Fix NPE in CallDetailActivity * commit '4f7a1ca468f699b8ce7108a10e93ee6b3929d355': Fix NPE in CallDetailActivity
|
589bf5030f9ecd687b8796a4571a9b1a3c4c6740 |
07-Nov-2013 |
Yorke Lee <yorkelee@google.com> |
Fix NPE in CallDetailActivity Bug: 11574365 Change-Id: I8998e9a631ef5bb3d2e4e317e117e672c3b3d798
riUtils.java
|
85ffa71501ee9ebb59615c2fc5808ba5a3a9e4b5 |
07-Nov-2013 |
Sailesh Nepal <sail@google.com> |
isLocalEmergencyNumber: Add null check This is consistent with other functions that also do null checks. Change-Id: I2fbdd330b37d3b32cb3dadc89e81727ca99b5ad4
honeNumberHelper.java
|
2437becfe567c87bbde50ad18a51da9991e3c36b |
06-Nov-2013 |
Yorke Lee <yorkelee@google.com> |
am 963ade15: am 7c38711c: am cf3a8475: Merge "Move ContactLoader related code to ContactsCommon" into klp-dev * commit '963ade153b9bee0ee7a1763dc3d530c55a7a7447': Move ContactLoader related code to ContactsCommon
|
5ade0bb1757b216ace2f50d2357409bf9876a07a |
28-Oct-2013 |
Yorke Lee <yorkelee@google.com> |
Move ContactLoader related code to ContactsCommon This CL simply moves classes from Contacts into ContactsCommon. This is needed so that Dialer can use ContactLoader related code for b/11294679. A ContactLoader will also be needed in the future to allow InCallUI to download hi-res photos while in call. Bug: 11294679 Change-Id: If56a60aed2003ac7b8fcedac7ce4f1a7503bce94
ommonDateUtils.java
ontactLoaderUtils.java
ataStatus.java
ateUtils.java
ameConverter.java
|
864c67691b5a0169b5cbb91469d67d93e24ad9eb |
04-Nov-2013 |
Yorke Lee <yorkelee@google.com> |
Remove use of isLayoutRtl and move to utility method isLayoutRtl is a hidden API and this CL moves the code into an internal utility method. Bug: 6948882 Change-Id: I20604b4233e0ce659e033133539662d9e3b558b3
iewUtil.java
|
4c57ab6a3e4758c948f7f8e714525c5490706c91 |
25-Oct-2013 |
Yorke Lee <yorkelee@google.com> |
Merge "Remove private references from ContactsCommon"
|
8c2e3ee773f06920a4e231e5f2582ff504580a7d |
25-Oct-2013 |
Christine Chen <christinech@google.com> |
Merge "Adding utility functions."
|
e9736747aa45ed6091a5479b38e3311823675853 |
22-Oct-2013 |
Yorke Lee <yorkelee@google.com> |
Remove private references from ContactsCommon Cleanup mContext references Substitute Guava methods for internal Android dependencies Change-Id: Ibc36b25839d40fd36b32ded3c337ae32a7447f2b
ontactDisplayUtils.java
|
e71d8eb89b4c33717ceb18120299d3c620668604 |
24-Oct-2013 |
Christine Chen <christinech@google.com> |
Adding utility functions. - Incorporates Ben and Chiao's comments on the previous CL. Change-Id: I0e3793b2329d451c2b629652ec8de5b704ef9574
honeNumberHelper.java
elephonyManagerUtils.java
|
9a54849e59d9b95bd99112b1099431d3a1a9302e |
24-Oct-2013 |
Yorke Lee <yorkelee@google.com> |
Switch to using ActivityManager.isLowRamDevice in ContactPhotoManager Change-Id: Ib48022684939b41ff6af2a6db1721df5e811b983
emoryUtils.java
|
a63fbce25ea8cdcd7f44a4d65e9bdf4aa81560db |
08-Oct-2013 |
Yorke Lee <yorkelee@google.com> |
Hide PII in encoded json uri in logs Bug: 11127944 Change-Id: I481be889dd82ce9664753be8bb9c749c8d76f08f
onstants.java
|
5ac1896102a8622b3394d562c5fbc4245e7ba3e0 |
09-Sep-2013 |
Yorke Lee <yorkelee@google.com> |
Add Json-encoded uri methods to utils Bug: 10600250 Change-Id: I2aeedc8cc7f6336cb496624f953d88baf1a3322d
riUtils.java
|
b5632a6ebe19ba1627f0e850b00e0e9de0fcd3ab |
05-Sep-2013 |
Alon Albert <aalbert@google.com> |
Support QuickContacts For Extended Directories Change-Id: I00128b882be3124e31cd2de6a974ec2d507344b1
onstants.java
|
4aa2f3e0fec6e8d58a1c32a232925770faeaa550 |
09-Jan-2013 |
Jay Shrauner <shrauner@google.com> |
Fix string overrun exception Fix SearchUtil::contains() so doesn't overrun string buffer when trying to match query that partially matches end of the buffer. Bug:7971792 Change-Id: Ifff09049b0a82af17413a7e56b9e5de938ff009d
earchUtil.java
|
cae605bed4d43e1925fc8c1803def0ef1d0924a5 |
28-Dec-2012 |
Chiao Cheng <chiaocheng@google.com> |
Find proper snippet in multi-line and large result. Previous CL removed the use ContactsContract.snippetize(). This method found the proper line in a multi-line results and then snippetized the line if it was too long. This CL adds that functionality back without using snippetize(). This new code is faster because it only does text intensive processing when the text is long. The previous snippetize method did processing for all strings. In addition, the old method iterated over the snippet multiple times (i.e. first with contains, then subsequently tokenizes, etc). This change re-uses the initial search results and remembers the search information so multiple iterations are not necessary. In addition, tokenizing has been optimized based on the match. We only need to chop off excess content rather than tokenizing the whole string. This CL also makes snippet more friend to landscape mode. Previously, the number of snippet tokens shown was hard-coded to 2 on each side. Furthermore, this caused longer tokens to exceed screen real estate. Now the number of tokens shown are determined more accurately by character count versus real estate. In landscape mode, this allows us to show much more of the search result. Finally, fixed a highlight problem when the search query contained punctuation. For example, a search for {.ben.} would not match {ben}. This Cl resolves that issue by cleaning the search query. Bug: 5929143 Change-Id: I5c368e6de8b34ca912f86926f862a02f95199fa7
earchUtil.java
|
d0c8da65af3b67ba551a220ca40be31f644dfed6 |
05-Dec-2012 |
Chiao Cheng <chiaocheng@google.com> |
Major resource move and clean-up. Moving resources from Contacts to ContactsCommon and Dialer as necessary to remove dialer dependencies on contacts app. Bug: 6993891 Change-Id: I5ff17028cb675694809cdc08e5ee80c444ee8666
iewUtil.java
|
e420de7fca9005d7084be275f268962a14094a22 |
04-Dec-2012 |
Chiao Cheng <chiaocheng@google.com> |
Moving SelectAccountDialogFragment to ContactsCommon. In preparation to move ImportExportDialogFragment to common. Also moved a few more string resources left out from previous move. Bug: 6993891 Change-Id: I978e490d256cf783db91b52bca46f4a1c678e415
ccountsListAdapter.java
|
7903d2473e1120e32fa5380a7d7532d0a21e2180 |
04-Dec-2012 |
Chiao Cheng <chiaocheng@google.com> |
Moving vcard UI to ContactsCommon. Moving all class in vcard directory in preparation to move ImportExportDialogFragment. Bug: 6993891 Change-Id: I4391c6e63d20ebe91e240001885a6ce18388e51f
ccountSelectionUtil.java
|
ba2c125b07086a88a3517fcf381a3a400c42afd3 |
29-Nov-2012 |
Chiao Cheng <chiaocheng@google.com> |
Further clean-up of PhoneFavoriteFragment in Dialer app. Moving dependencies of Dialer PhoneFavoriteFragment. Mostly filtering dependencies. Bug: 6993891 Change-Id: Ic2b29b80ae2367f54e619b30bdb71b098c8a0deb
ccountFilterUtil.java
mptyService.java
ocalizedNameResolver.java
eakAsyncTask.java
|
d305a6e633b7315cdd1ce4711c0d3a2b18b3c05f |
15-Nov-2012 |
Chiao Cheng <chiaocheng@google.com> |
Final move of AccountTypeManager dependencies. After this change, AccountTypeManager can be moved into ContactsCommon. Bug: 6993891 Change-Id: I73974557274379fd307ed2b5e787f448fb1fc3c5
onstants.java
|
273399bf829133a8385332ad43add3c34c889102 |
14-Nov-2012 |
Chiao Cheng <chiaocheng@google.com> |
Move dependencies of AccountTypeManager into ContactsCommon. Moving dependencies in preparation to move AccountTypeManager. Bug: 6993891 Change-Id: I10893209986efd288315dc6b51c7971838ac3923
ommonDateUtils.java
|
cf2644a893c3dcb5eecbb55f518ff00f202702f9 |
30-Oct-2012 |
Chiao Cheng <chiaocheng@google.com> |
Merge "Move PhoneNumberFormatter to common."
|
0c7be815e789920d8157e125d2584f3768ff4fdd |
30-Oct-2012 |
Chiao Cheng <chiaocheng@google.com> |
Merge "Move label fetch logic into common utility class."
|
0241faf98fd678a2e824122ad4d5f41de72d498d |
30-Oct-2012 |
Chiao Cheng <chiaocheng@google.com> |
Move PhoneNumberFormatter to common. Bug: 6993891 Change-Id: I7d55c473272e944d9dfc1d67a5b010edb9dbb1a9
honeNumberFormatter.java
|
81e755d9bd36eb7e022f9b897539d55b053ce0d8 |
30-Oct-2012 |
Chiao Cheng <chiaocheng@google.com> |
Move StopWatch class into common. Bug: 6993891 Change-Id: I60e9a1f63ea09dc0eb3c5ede64e9d5a15272526d
topWatch.java
|
26ae5e29d0b54a1888e9607689a31d996ce05691 |
30-Oct-2012 |
Chiao Cheng <chiaocheng@google.com> |
Move label fetch logic into common utility class. - Move logic from PhoneActionInflater and PhoneActionAltInflater into common utility method so it can be shared by PhoneNumberInteraction without going through account manager. - Added unit tests. Bug: 6993891 Change-Id: I53e74df02bea031886ee512360b9f1abc083d66c
ontactDisplayUtils.java
|
c36c3196c594b992cec8b5de1a3dba7556648804 |
16-Oct-2012 |
Chiao Cheng <chiaocheng@google.com> |
Adding ContactPhotoManager and dependent classes. Moved from People package so it can be shared by dialer. Bug: 6993891 Change-Id: I85268c040498621a324c459ce237a51b30e7d3a4
itmapUtil.java
emoryUtils.java
riUtils.java
|