summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ContactsCommon: Add mime type to phone query projectionstaging/incall-apiemancebo2015-08-241-0/+3
| | | | Change-Id: I2adaafa8de3cd25d37d278b21679c138a4f79f39
* Automatic translation importTom Powell2015-08-212-9/+9
| | | | Change-Id: Ic312df6c6d3c23492ccaeca569f4e4a3a79261f0
* SelectAccountActivity : Support local phone accountRohit Yengisetty2015-08-192-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
* Fix:Shouln't display any contacts after clean all letters in dialer search view.chengzhi.hou2015-08-191-0/+3
| | | | | | | | | Input some letters in dialer search view, then rotating screen and press backspace key or search_close_button to clean all letters, the search result shoul be empty, but actually the list displays all contacts. Just because we didn't save the value of mShowEmptyListForEmptyQuery. Change-Id: I2dd56e63d373a378821eef95a09723202a5fb9fc
* ContactsCommon: Telephony expects sim_indexcretin452015-08-181-1/+1
| | | | | | CRACKLING-536 Change-Id: I9fbc0fb28834d517e36a7cac8f9e9d553dd60eec
* Automatic translation importTom Powell2015-08-111-2/+17
| | | | Change-Id: I3ea598e21cce865adc77c4da51915b9172c6a8b2
* string validation: check if the string is emptyMarcos Marado2015-07-281-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
* EmergencyContacts: Check if quickdial number is an emergency numberStephen Bird2015-07-271-1/+7
| | | | | | If the phone number is an emergency number, use ACTION_CALL_PRIVILEGED. Change-Id: I348d2bff06eb5a9b8218ad9c8a5584ffa84e33f8
* Automatic translation importMichael Bestas2015-07-275-13/+170
| | | | Change-Id: Iae565a8866debc8be4eba05938e0c41a0cdb44d1
* ContactsCommon : Add createStarredPhoneOnlyLoaderDanesh M2015-07-241-0/+6
| | | | Change-Id: I6cdd51f5557ca435d189142fe4ee10b27035e963
* PhoneNumberLookup : have the mk file hold its absolute path for easy inclusionRohit Yengisetty2015-07-231-1/+2
| | | | Change-Id: I0e51ae309a929faa41f3f397556c51090998c576
* Add generic hooks for contact info lookup based on phone numberRohit Yengisetty2015-07-227-1/+188
| | | | Change-Id: Ic66c936fb29579724c930232f5cc1ef2ae135313
* ContactPhotoManager - Add ability to fetch contact bitmap based on photo idRohit Yengisetty2015-07-172-5/+36
| | | | Change-Id: Ie9f4ec17ec7f598c8d0005e27107f300af829fc3
* CheckableFlipDrawable : Add getter for front drawableRohit Yengisetty2015-07-131-0/+8
| | | | Change-Id: Id38ecba4b8e4efabebf76e1e4a3167061b8a58be
* Automatic translation importMichael Bestas2015-07-135-2/+11
| | | | Change-Id: I961d979f6a4e8037219bd9ee363025ecdfd653f9
* Automatic translation importMichael Bestas2015-07-023-8/+64
| | | | Change-Id: I9f458ea6aae40f638de1b5721a82f9465fed41ec
* Automatic translation importMichael Bestas2015-06-231-1/+1
| | | | Change-Id: I053b72a891ebe563fe7d6e57274411c157ccc9fa
* Add local phone account as a writable AccountTypes.Matt Garnes2015-06-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
* Automatic translation importMichael Bestas2015-06-131-0/+56
| | | | Change-Id: Ia83d047e7ebcd3221bca24623b4cd0d726b7f999
* Automatic translation importMichael Bestas2015-06-092-0/+25
| | | | Change-Id: Ice0aa9dd70c1ef0e3543b676e0d80306200f7e4e
* Automatic translation importMichael Bestas2015-05-241-0/+18
| | | | Change-Id: I84e6ee6a4e7ffeb68adac7612ba599d6df5fa54a
* Automatic translation importMichael Bestas2015-05-168-7/+63
| | | | Change-Id: I251720dc11814abd15cd7c4b04c7d230443fa86f
* Store all local contacts in only one account.Matt Garnes2015-05-125-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-05-122-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>
* ContactsCommon : Remove pending request for get contact bitmapsDanesh M2015-05-041-1/+1
| | | | | | | Ensure we remove the pending request from the queue, once its processed. Change-Id: I639f988a7298c59a49414c72adec84fc08115cc2
* Automatic translation importMichael Bestas2015-05-021-0/+57
| | | | Change-Id: I5ecc5bf919466a36d5a8699b17df9fd9919f994c
* Automatic translation importMichael Bestas2015-04-251-0/+20
| | | | Change-Id: I7eca9579f52dd15c7abc31d22532a2f74381e464
* ContactsCommon : Only use default requests if one is not providedDanesh M2015-04-231-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-04-212-7/+119
| | | | | Change-Id: If7279a5a77c9d036c5ffdf0633c7577df30973b4 (cherry picked from commit ad0dff5a4331a1625c51c8b9cbcdbfbe5364dae2)
* [3/3] ContactsCommon: Smart Dialerlinuxxxxx2015-04-191-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>
* Automatic translation importMichael Bestas2015-04-173-2/+3
| | | | Change-Id: I16e141e16792eda3e6854fd9a77d3335465a43ce
* ContactsCommon: fix NPE on importing contact with multiple accountsPawit Pornkitprasan2015-04-051-1/+3
| | | | | | | | | | | | | | java.lang.NullPointerException: Attempt to invoke virtual method 'void android.content.Context.startActivity(android.content.Intent)' on a null object reference at com.android.contacts.common.util.AccountSelectionUtil.doImportFromSim(AccountSelectionUtil.java:232) at com.android.contacts.common.util.AccountSelectionUtil.doImport(AccountSelectionUtil.java:211) at com.android.contacts.common.interactions.ImportExportDialogFragment.onAccountChosen(ImportExportDialogFragment.java:333) at com.android.contacts.common.editor.SelectAccountDialogFragment.onAccountSelected(SelectAccountDialogFragment.java:113) at com.android.contacts.common.editor.SelectAccountDialogFragment.access$000(SelectAccountDialogFragment.java:36) at com.android.contacts.common.editor.SelectAccountDialogFragment$1.onClick(SelectAccountDialogFragment.java:86) at com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:1082) [snip] Change-Id: Id07857200cb341ce916da46c5be852c0573f65f2
* Expose colors from arrayBryan Owens2015-04-012-28/+58
| | | | | | Signed-off-by: Bryan Owens <djbryan3540@gmail.com> Change-Id: I58bc8e8a9503b3da5e50fb852d7a2eba99466f48
* Fix dialer name ordering options not being respected on first load.Danny Baumann2015-04-011-17/+14
| | | | | | | Do this by making sure the contact loader isn't started before preferences are loaded. Change-Id: Iaa589b65ccf5757e25b7d4f1beb9a7496797280c
* contacts: Fix import/exportstaging/cm-12.1Steve Kondik2015-03-271-55/+1
| | | | Change-Id: I803311b9d33c4e3024ec3b421d3a7f478e118051
* Propagate group default and favorites state intoDanny Baumann2015-03-261-1/+14
| | | | | | GroupMembershipDataItem. Change-Id: I80147537e404e551f4a10f1d018cdf6236e73e3c
* Populate group title.staging/cm-12.1-testDanny Baumann2015-03-253-2/+38
| | | | | | Better than showing a mysterious number as item. Change-Id: I1e39e33749bc67dbdadfb6c696b8ad52eb01780f
* Merge branch 'lollipop-mr1-release' of ↵Steve Kondik2015-03-25117-546/+1211
|\ | | | | | | | | | | https://android.googlesource.com/platform/packages/apps/ContactsCommon into cm-12.1 Change-Id: I271972eb6db4d6c5cc620a1adb26b1f06beaf1b4
| * merge in lmp-mr1-release history after reset to lmp-mr1-devThe Android Automerger2014-12-240-0/+0
| |\
| | * merge in lmp-mr1-release history after reset to lmp-mr1-devThe Android Automerger2014-12-110-0/+0
| | |\
| | | * merge in lmp-mr1-release history after reset to lmp-mr1-devThe Android Automerger2014-12-090-0/+0
| | | |\
| | | | * merge in lmp-mr1-release history after reset to lmp-mr1-devThe Android Automerger2014-12-080-0/+0
| | | | |\
| | | | | * merge in lmp-mr1-release history after reset to lmp-mr1-devThe Android Automerger2014-12-020-0/+0
| | | | | |\
| | | | | | * merge in lmp-mr1-release history after reset to lmp-mr1-devThe Android Automerger2014-12-010-0/+0
| | | | | | |\
| | | | | | | * merge in lmp-mr1-release history after reset to lmp-mr1-devThe Android Automerger2014-11-270-0/+0
| | | | | | | |\
| | | | | | | | * merge in lmp-mr1-release history after reset to lmp-mr1-devThe Android Automerger2014-11-240-0/+0
| | | | | | | | |\
| | | | | | | | | * merge in lmp-mr1-release history after reset to lmp-mr1-devThe Android Automerger2014-11-200-0/+0
| | | | | | | | | |\
| | | | | | | | | | * merge in lmp-mr1-release history after reset to lmp-mr1-devThe Android Automerger2014-11-180-0/+0
| | | | | | | | | | |\
| | | | | | | | | | | * merge in lmp-mr1-release history after reset to lmp-mr1-devThe Android Automerger2014-11-170-0/+0
| | | | | | | | | | | |\
| | | | | | | | | | | | * merge in lmp-mr1-release history after reset to lmp-mr1-devThe Android Automerger2014-11-130-0/+0
| | | | | | | | | | | | |\