summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add required permission to read vcf from gmailMartin Brabham2016-01-151-0/+1
| | | | Change-Id: Ib5e069bc02e0465ee9c54805b9bb89ae0565456a
* Ensure non-null encoded uri before attempting to parseRohit Yengisetty2016-01-141-0/+4
| | | | Change-Id: Ief4d9b5b305bfcfa18f173ffa0f21b56584a6a2b
* Add block contact dialog and supporting helper classesRohit Yengisetty2016-01-127-0/+355
| | | | Change-Id: I7f2697a843d4f615fe1ae9e8525baaefcbe9428b
* Refactor contact info lookupRohit Yengisetty2016-01-125-14/+27
| | | | Change-Id: Ie926475b31360455b7cdf2d653b58bec9579f736
* Automatic translation importMichael Bestas2016-01-1125-2/+414
| | | | Change-Id: I67b670b8424d5a8834e400f31aa3778ec6f1ca83
* Propagate group default and favorites state into GroupMembershipDataItem.Danny Baumann2016-01-101-1/+14
| | | | Change-Id: I80147537e404e551f4a10f1d018cdf6236e73e3c
* Revert "Move info_lookup's LookupHandlerThread into src/"Rohit Yengisetty2016-01-081-8/+7
| | | | | | This reverts commit 6ecfe52e37a7b7a4e795db427424152db84d20b6. Change-Id: Ib780c3ce891063f20cd0130b7b875304ce8af6e5
* Revert "Refactor contact info lookup"Rohit Yengisetty2016-01-085-18/+6
| | | | | | This reverts commit 51aabe650a5f3530e29c66cbf1ac287d1f7f00a9. Change-Id: Ia39ffade0f8939194b373dd0b0e1ec26d25d1160
* Move info_lookup's LookupHandlerThread into src/Rohit Yengisetty2016-01-081-7/+8
| | | | Change-Id: If75beec6979c570fda6e050f232b13ccc855f959
* Add additional SIM constantsRohit Yengisetty2016-01-081-2/+7
| | | | Change-Id: I825d812805bff6eaccf5f2fa0138c95d8546578a
* Refactor contact info lookupRohit Yengisetty2016-01-085-6/+18
| | | | Change-Id: I17c33ddb046437dde3348d7359dcb422f118a478
* Themes: Define back arrow tint color for themesBryan Owens2016-01-012-1/+2
| | | | | | | This will make it easier to theme and keep stock look Change-Id: Ifb145823882eb9008bfa88c45d29edc4b9c6786e Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
* Automatic translation importMichael Bestas2015-12-2570-0/+3349
| | | | Change-Id: I9910569779dda40a11be0bae843f90c7a4a00faa
* ContactsCommon: Improve CAF stringsMichael Bestas2015-12-145-127/+58
| | | | | | * Also remove unused ones Change-Id: Ia8724c749e51028a92544bdf476fbbbfe51e6444
* ContactsCommon: move CAF strings to cm_stringsVladislav Koldobskiy2015-12-132-87/+81
| | | | Change-Id: I0670b6e3dab7d734f996331f51b7b112fa54c3a3
* Merge tag 'android-6.0.1_r3' of ↵Steve Kondik2015-12-076-16/+16
|\ | | | | | | | | | | https://android.googlesource.com/platform/packages/apps/ContactsCommon into HEAD Android 6.0.1 release 3
| * Import translations. DO NOT MERGEGeoff Mendal2015-10-283-5/+5
| | | | | | | | | | Change-Id: I75d674827a75be66b9c2a047698d53e1c8f221ce Auto-generated-cl: translation import
| * Import translations. DO NOT MERGEGeoff Mendal2015-10-261-4/+4
| | | | | | | | | | Change-Id: I2193aeb1b9824435b967840e198787ff7ccff8b4 Auto-generated-cl: translation import
| * Import translations. DO NOT MERGEGeoff Mendal2015-10-212-6/+6
| | | | | | | | | | Change-Id: I2b1eeab65d4cb09bc113c6eb393a4c96cfe3c828 Auto-generated-cl: translation import
| * Make LetterTileDrawables boldYorke Lee2015-10-201-1/+1
| | | | | | | | | | Bug: 24682810 Change-Id: I044ec6e04d998b790913e245d8815c291ac869d3
* | Populate group title.Danny Baumann2015-12-023-1/+39
| | | | | | | | | | | | Better than showing a mysterious number as item. Change-Id: I1e39e33749bc67dbdadfb6c696b8ad52eb01780f
* | Clean-up the DefaultImageProvider APIRohit Yengisetty2015-11-241-32/+25
| | | | | | | | Change-Id: I8dd2b45a0ae5457e928c9ba4ae8c14fad88e60d1
* | CheckableFlipDrawable : propagate tint and drawable stateRohit Yengisetty2015-11-192-11/+60
| | | | | | | | | | | | | | Ensure that the FrontDrawable recieves the tint and the and the drawable state information. Change-Id: I6b4a6e9cc15c5b9d64bbd0b2a4bfe8fbb6bcd7c5
* | Fix contact JSON record parsing.Danny Baumann2015-11-181-3/+4
| | | | | | | | Change-Id: I6c40ad9636a1be3662261bf8a364b3a52c624598
* | Add interface for checking spam reporting providerMartin Brabham2015-11-183-0/+46
| | | | | | | | | | Change-Id: I6e2ee3a5025b06600e07039f584a650e422be0b3 Ticket-Id: MMS-158
* | Shim in mark as spam apiMartin Brabham2015-11-183-3/+44
| | | | | | | | | | Change-Id: I77cd6741befa949a6938a0ba118a0f196a0045b3 Ticket-Id: MMS-158
* | ContactsCommon: Move contact uri extra to common locationcretin452015-11-181-0/+2
| | | | | | | | | | | | Dependency for fix that addresses MMS-118 and MMS-127 Change-Id: I017351cf5c100f0bc22e71b12c89b9bb4045fc9f
* | ContactsCommon: Don't pass contact id in ContactBuildercretin452015-11-183-6/+20
| | | | | | | | | | | | | | | | | | * Also use structured name as default type. * Add helpers for setting contact image from lookup Addresses MMS-149 Change-Id: I63df3623f7b19d4fca81d52790a62ee6bb24e785
* | ContactsCommon: Add ability to show looked up contacts for quick contactsMatt Garnes2015-11-189-74/+829
| | | | | | | | | | | | MMS-86 Change-Id: I7f10857422908106e2d6cba539acfa3b757568f3
* | LookupProvider updatesemancebo2015-11-173-9/+36
| | | | | | | | | | | | | | | | | | - Add isEnabled to the interface - Make sure to start thread before getting current looper - Make handler thread initialize idempotent - Add destroy method to shut down thread and clean up lookup provider Change-Id: Iaf350f1381aed69765adbef1752990126cfbeeda
* | SelectAccountActivity : Support local phone accountRohit Yengisetty2015-11-172-15/+7
| | | | | | | | | | | | | | | | | | | | | | Selecting the local phone account wasn't doing anything. An issue was reported wherein importing vcf file to local phone account doesn't work. ImportVCardActivity doesn't get the local phone account even though the user selected it in account-selection dialog. [CYNGNOS-399] Change-Id: Ie7534e1046c29b96807735c1caa307acca3de66b
* | string validation: check if the string is emptyMarcos Marado2015-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | By replacing a null check with an isEmpty check, we guarantee that the string not only isn't null, but also that it isn't empty. Previously, an empty string could reach here, pass through the validation, and then provoke a StringIndexOutOfBoundsException as we try to access charAt(0). Change-Id: Ibb1dad62d33584956fbb024ced03448df8598b39 Ticket: BUGDUMP-2892952
* | ContactsCommon : Add createStarredPhoneOnlyLoaderDanesh M2015-11-171-0/+6
| | | | | | | | Change-Id: I6cdd51f5557ca435d189142fe4ee10b27035e963
* | PhoneNumberLookup : have the mk file hold its absolute path for easy inclusionRohit Yengisetty2015-11-171-1/+2
| | | | | | | | Change-Id: I0e51ae309a929faa41f3f397556c51090998c576
* | Add generic hooks for contact info lookup based on phone numberRohit Yengisetty2015-11-177-1/+188
| | | | | | | | Change-Id: Ic66c936fb29579724c930232f5cc1ef2ae135313
* | ContactPhotoManager - Add ability to fetch contact bitmap based on photo idRohit Yengisetty2015-11-172-5/+36
| | | | | | | | Change-Id: Ie9f4ec17ec7f598c8d0005e27107f300af829fc3
* | CheckableFlipDrawable : Add getter for front drawableRohit Yengisetty2015-11-171-0/+8
| | | | | | | | Change-Id: Id38ecba4b8e4efabebf76e1e4a3167061b8a58be
* | Add local phone account as a writable AccountTypes.Matt Garnes2015-11-172-4/+6
| | | | | | | | | | | | | | Previously, the local account can be used to create contacts but not groups. Fix this by ensuring that the local account is added as a contact writable account as well as a group writable account. Change-Id: Ia4e0a8abca42d12a708a9e56a181fd3677e56aba
* | Store all local contacts in only one account.Matt Garnes2015-11-175-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | In 1122a58d3e8b4f85ffbc97aecbf76f57b2711065, a second local account was introduced. This is used in many more places than the original phone-local (introduced in 7189fda4cbcd162555d59ee335709173ee46bbea) so change all references to this local account to use the new one. There are several places where exactly one local account is assumed, such as in ContactProvider. We should combine all local contacts into one account name and type. Change-Id: I1781d009557ece05e9eaa078847756c428a8fbbd
* | contactscommon: ensure preferences are loaded before reload dataJorge Ruesga2015-11-171-0/+1
| | | | | | | | | | | | | | | | | | SIM state event can arrive early than the preferences were loaded. Just ensure that preferences are loaded in that event too. JIRA: NIGHTLIES-884 Change-Id: I9909c3a2302b9aa83f41365514cea622ab568a05 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | ContactsCommon : Remove pending request for get contact bitmapsDanesh M2015-11-171-1/+1
| | | | | | | | | | | | | | Ensure we remove the pending request from the queue, once its processed. Change-Id: I639f988a7298c59a49414c72adec84fc08115cc2
* | ContactsCommon : Only use default requests if one is not providedDanesh M2015-11-171-21/+39
| | | | | | | | | | | | | | | | This solves the issue where the provider doesn't end up receiving the request it initially created and passed along. Change-Id: Ie39d66a87eb3a1088a4eb62e11084e1123f707f5 (cherry picked from commit ce096acee71b168f630a684d61294fb733472bd1)
* | ContactsCommon : Modify ContactPhotoManager to fetch contacts' bitmapsRohit Yengisetty2015-11-172-7/+119
| | | | | | | | | | Change-Id: If7279a5a77c9d036c5ffdf0633c7577df30973b4 (cherry picked from commit ad0dff5a4331a1625c51c8b9cbcdbfbe5364dae2)
* | [3/3] ContactsCommon: Smart Dialerlinuxxxxx2015-11-171-0/+127
| | | | | | | | | | | | | | Put on your ear, and this will automatically call current number in message or dialer Change-Id: I27b5d379400d7d00b3a07a411d66e319b456eb4d Signed-off-by: linuxxxxx <joey@cyanogenmoditalia.it>
* | ContactsCommon: fix FC when deleting SIM contacts after SIM is removedRaj Yengisetty2015-11-171-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | Repro: - Create local contact - Export to SIM - Remove SIM - Go to delete menu option - Select all (*include* exported SIM contact) - Click check mark - Observe Contacts app force closes when deleting the exported contact Change-Id: I2bfecf8b19c8f1eae9559a4e6f46ff477da4dc74
* | Only reload contacts if relevant SharedPreferences change.Matt Garnes2015-11-171-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In ContactEntryListFragment, we listen for any changes to SharedPreferences. However, not all SharedPreferences should trigger a data reload. last_updated_millis will be written if the smart dial tables in the dialer DB were updated. mPreferencesChangeListener would reload all contacts data. This shared preference does not change the data for contacts, so we should not reload them. On slower devices, this will visibly cause the ListView to flash between the empty view and populated listitems as it reloads twice when the activity resumes. Only reload data when relevant SharedPreferences change. Change-Id: Id2a607fdaf5715b69738c76422ef08d76e6ffafe
* | ContactsCommon: Add PHOTO_ID to contact tile loader projectionemancebo2015-11-171-0/+2
| | | | | | | | | | | | Makes it possible to access photoId to load thumbnails for starred result set Change-Id: I8e8c54168bae8bf84b633cb083f54808fd6ec9b2
* | Add overloads to scaleIn() and scaleOut() to receive an AnimationCallbackGeorge Hilliard2015-11-171-3/+12
| | | | | | | | Change-Id: Ib3dfba712b43c684534682bbc98e42743b851d6b
* | Fix checkmarks being displayed stretched for contact pictures.Danny Baumann2015-11-174-53/+111
| | | | | | | | | | | | | | | | | | | | | | Taking the intrinsic size of the contact picture for the whole drawable has the unwanted side effect of the picture size being applied to the checkmark drawable as well. Fix it by not applying an intrinsic size to the flip drawable and doing the scaling formerly done by ImageView by ourselves. Also take some cleanup potential. Change-Id: I0fb07d0631781a345e6a0602ac181a6d76cdf476
* | Add a checkable QuickContactBadge.Danny Baumann2015-11-1710-6/+720
| | | | | | | | | | | | | | To be used from multi picker UI. FlipDrawable and CheckableFlipDrawable were kanged from UnifiedEmail. Change-Id: Ic910071da9314526c3d75ab354b62645399824ce