summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importstable/cm-12.0-YNG3CMichael Bestas2015-05-021-0/+57
| | | | | Change-Id: I5ecc5bf919466a36d5a8699b17df9fd9919f994c (cherry picked from commit dd11cfda2bb82bb46ff2bc49cff87167389932b8)
* Automatic translation importMichael Bestas2015-04-251-0/+20
| | | | Change-Id: I7eca9579f52dd15c7abc31d22532a2f74381e464
* ContactsCommon : Remove pending request for get contact bitmapsDanesh M2015-04-231-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-04-221-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
* ContactsCommon : Modify ContactPhotoManager to fetch contacts' bitmapsRohit Yengisetty2015-04-182-7/+119
| | | | Change-Id: If7279a5a77c9d036c5ffdf0633c7577df30973b4
* Automatic translation importMichael Bestas2015-04-173-2/+3
| | | | Change-Id: I16e141e16792eda3e6854fd9a77d3335465a43ce
* Expose colors from arrayBryan Owens2015-04-062-28/+58
| | | | | | | | | Cherry picked from cm-12.1 branch Signed-off-by: Bryan Owens <djbryan3540@gmail.com> Change-Id: I58bc8e8a9503b3da5e50fb852d7a2eba99466f48 (cherry picked from commit 579a7f03a3d44151aa8d4f1c1189d3df329f007d)
* Store all local contacts in only one account.Matt Garnes2015-03-265-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-03-232-5/+6
| | | | | | | | | 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>
* Automatic translation importMichael Bestas2015-03-224-1/+96
| | | | Change-Id: I19f4d87204b7975a0542af9799da696cecdb1cad
* Automatic translation importMichael Bestas2015-03-154-4/+117
| | | | Change-Id: Ife47fda96ea9abefed27530a75dd084f2ccd34c2
* ContactsCommon: fix FC when deleting SIM contacts after SIM is removedRaj Yengisetty2015-03-121-1/+13
| | | | | | | | | | | | | 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-03-101-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
* Exposed hard coded text colors for starred/group tiles.93Akkord2015-03-073-2/+22
| | | | | Change-Id: I145d66592f27333150b4e670fc1e1efd7c28d22c Signed-off-by: 93Akkord <michaelcbarros@gmail.com>
* Automatic translation importMichael Bestas2015-03-062-16/+16
| | | | Change-Id: I363bf289d01b5711e9c36bd88d09924c37a69e46
* ContactsCommon: Add PHOTO_ID to contact tile loader projectionemancebo2015-03-021-0/+2
| | | | | | Makes it possible to access photoId to load thumbnails for starred result set Change-Id: I8e8c54168bae8bf84b633cb083f54808fd6ec9b2
* Automatic translation importMichael Bestas2015-02-285-0/+75
| | | | Change-Id: Ia86589ed2bf2b17439855d44d320eaff2fb5c19d
* Automatic translation importstable/cm-12.0-YNG1IMichael Bestas2015-02-198-0/+90
| | | | Change-Id: I059b80659a52026223b5c6f65739fdb60adf335c
* Automatic translation importMichael Bestas2015-02-1048-0/+2927
| | | | Change-Id: Id5d9e7a4705d4874630a655f9cef2817ef6513bc
* ContactsCommon: Improve CAF stringsMichael Bestas2015-02-036-89/+41
| | | | Change-Id: Ia8724c749e51028a92544bdf476fbbbfe51e6444
* Quick Call: do not show quick call next to profile contactRaj Yengisetty2015-01-272-3/+5
| | | | Change-Id: Ia4bd6a59e0a27c64b64554251392e31ed6bdd917
* Add overloads to scaleIn() and scaleOut() to receive an AnimationCallbackGeorge Hilliard2015-01-211-3/+12
| | | | Change-Id: Ib3dfba712b43c684534682bbc98e42743b851d6b
* ContactsCommon: fix exporting SIM contacts the first timeRoman Birg2015-01-151-2/+1
| | | | | | | | | Iff the ICC cache hasn't populated before the cursor query - let it populate, then get the free count. Change-Id: Ic3e2d96e657ed61863b332d817d865ddbd107e55 Signed-off-by: Roman Birg <roman@cyngn.com> (cherry picked from commit 2a99ff27231d9ca380ccb47877365f922c1bef64)
* ContactsCommon: move CAF strings to cm_stringsVladislav Koldobskiy2015-01-042-71/+63
| | | | Change-Id: I0670b6e3dab7d734f996331f51b7b112fa54c3a3
* Fix checkmarks being displayed stretched for contact pictures.Danny Baumann2014-12-114-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 Baumann2014-12-1010-4/+718
| | | | | | | To be used from multi picker UI. FlipDrawable and CheckableFlipDrawable were kanged from UnifiedEmail. Change-Id: Ic910071da9314526c3d75ab354b62645399824ce
* Import feature - auto prompt for importing SIM contactsRaj Yengisetty2014-12-083-0/+69
| | | | Change-Id: I1c24094c3d588edf2d1182d8369882523e6f6512
* contacts: don't assume the device has an sdcardJorge Ruesga2014-12-083-8/+18
| | | | | | | | | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com> Conflicts: src/com/android/contacts/common/MoreContactUtils.java src/com/android/contacts/common/vcard/ImportVCardActivity.java Change-Id: I5c8abfd53527f4ea83e6202c953affd589810774
* contacts: return the first sdcard entry foundJorge Ruesga2014-12-081-4/+2
| | | | | | | | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com> Conflicts: src/com/android/contacts/common/MoreContactUtils.java Change-Id: I513cfe6acb9a7ac85ddeba7f92b8efc5e19ed369
* contacts-common: Add support for import contacts to local phone storageJorge Ruesga2014-12-045-25/+54
| | | | | | | | | | | | | | | | | This change allow to select the local storage account to add/import contacts when others cloud/corporate accounts exists. If one or more account exists just ask the user to select the destination account Depends on: http://review.cyanogenmod.org/#/c/59352/ JIRA: CYAN-391 Issue: https://jira.cyanogenmod.org/browse/CYAN-391 Signed-off-by: Jorge Ruesga <jorge@ruesga.com> Conflicts: src/com/android/contacts/common/interactions/ImportExportDialogFragment.java Change-Id: I0120861479a4dcced11a430803513fc21a2e130b
* The FastScroller is not working properly.Ran Zhengyuan2014-12-041-1/+3
| | | | | | | | | If you have a large number of contacts in the last section of contacts list, when you scroll the list, the fast scroll bar will work improperly, it will scroll back. The reason is that when we scroll to the last section, the next position of the next section is -1 but not the count of the contacts. Change-Id: I058b3e6c88e8aaeabbfed291296e02dfd775018e
* ContactsCommon: Add optional text highlight colorcretin452014-12-043-5/+29
| | | | Change-Id: Ia2b7786ea32fc9cda029d90df7ba3f3ac4782fe4
* Merge tag 'android-5.0.1_r1' into HEADRicardo Cerqueira2014-12-031-1/+1
|\ | | | | | | Android 5.0.1 release 1
| * Switch from CALL -> CALL_PRIVILEGEDYorke Lee2014-11-181-1/+1
| | | | | | | | | | Bug: 18332160 Change-Id: I5b9bcc8f413e5534bab94e0b2677371968a8e483
* | Prevent NPE in Contacts when subId is nullblunden2014-11-231-0/+3
| | | | | | | | Change-Id: I68f9f1be0b60b6d555f158d6cc37ed2b72b9ac2b
* | ContactsCommon: Add direct call from contact list feature. (1/2)Adnan2014-11-1213-8/+271
| | | | | | | | | | | | - Requires cmcc overlay flag to be set in Contacts. Change-Id: I6f957029a26f3e01825cb57b7b0620f618d1eb69
* | Add utility methods used by the call stats codeDanny Baumann2014-11-121-0/+41
| | | | | | | | Change-Id: If000c0638af8b50654f2a3637e9a780759710502
* | Hide the icon frameblong2014-11-042-0/+22
| | | | | | | | | | | | | | - It will display a blank area when don't set icon for preference, so hide the icon frame. Change-Id: I017efb351c3b52ba41d54e5e561cb9970df538c5
* | ContactsCommon: Add sim indicator in contacts history.kaiyiz2014-11-041-0/+70
| | | | | | | | | | | | Add sim indicator in contacts history of contact detail. Change-Id: I7359300fb8b262b97d3562e51d2b9f1ea2fd09ba
* | Add the new res for SIM and Phone accountblong2014-11-0430-10/+78
| | | | | | | | | | | | - Use the new res for Phone and SIM account display Change-Id: I90c6746059f46a0c8eaecb01416b31c1ba4af789
* | ContactsCommon: Fix ANR error when cancel import contacts actionkaiyiz2014-11-041-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | The ImportVCardActivity isn't finished while user cancelled import contacts action. Finish the ImportVCardActivity when user cancel import contacts action. CRs-Fixed: 738754 Change-Id: Ib53084cc3055432bb482cc3fb6f3df43b1c3b3b0
* | CSVT: Enable CSVT function.cdu2014-11-041-0/+22
| | | | | | | | | | | | Add support to get intent the start CSVT. Change-Id: I3ca47230421125d128257137d06d89395c56ba2c
* | ContactsCommon: Notify Listview when the content of the adapter changedkaiyiz2014-11-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | The content of the adapter has changed but ListView did not receive a notification. Notify Listview when the content of the adapter has changed. CRs-Fixed: 713565 Change-Id: I03f53f63c201c39ca8e1877b2449a00434972b24
* | ContactsCommon: Modify edit contact result when delete all informationkaiyiz2014-11-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The judgment of photo information is incorrect, photo entry who's information is empty should be mark deleted also when edit contact. Modify the judgment and mark the photo entry without information deleted CRs-Fixed: 740025 Change-Id: Ib93445d7a06e3383e0623deb6933b20c14b8733c
* | ContactsCommon: Modify the notification icon when import/export contactskaiyiz2014-11-042-5/+7
| | | | | | | | | | | | | | | | | | | | | | There is no parameter to distinguish these two action when impot or export contacts. Add a parameter to distinguish import and export contacts. CRs-Fixed: 738748 Change-Id: I262d282f4b8748d210f5205cf4737c2649fe6702
* | Contacts display blank when rotate screenblong2014-11-041-0/+8
| | | | | | | | | | | | | | | | | | | | | | - when rotate screen,it will display blank because of data not reload. - when search contacts in dialer,it will FC because of the old cursor is not closed CRs-Fixed: 740046 Change-Id: I3bc5a1fa4928eeb65fb6fd56abe97d23e6c18273
* | Filter SIM contacts when add info from smsblong2014-11-042-3/+11
| | | | | | | | | | | | | | | | | | - Original not supports to add contacts info to exist SIM contacts from sms,so hide SIM contacts from UI. CRs-Fixed:731525 Change-Id: Ib3a072a9895c93d8438fb50d7d883505ee32d973
* | ContactsCommon: Fix import vCard from external storage.kaiyiz2014-11-041-1/+15
| | | | | | | | | | | | | | | | Add the selected storage patch to import the vCard file. CRs-Fixed: 728594 Change-Id: Ieb7b1f51a7502886bc9911944cbb757b6aa078da
* | ContactsCommon: Add IP call setting feature Chinese translationkaiyiz2014-11-041-0/+7
| | | | | | | | | | | | | | | | | | | | There isn't Chinese translation for IP call setting feature. Add IP call setting feature Chinese translation. CRs-Fixed: 738734 Change-Id: I97845a6f42b012e0bdf5d0cdd71492264e98f966
* | ContactsCommon: Should display group info in contact detail interface.kaiyiz2014-11-041-0/+2
| | | | | | | | | | | | | | | | | | Contacts detail does not display the group info data. Add the group info data in contact detail. CRs-fixed: 730063 Change-Id: I8a028342de3b43bb8e06d50f7c7664fea376fae5