summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* ContactsCommon: Add mime type to phone query projectionstaging/incall-apiemancebo2015-08-241-0/+3
| | | | Change-Id: I2adaafa8de3cd25d37d278b21679c138a4f79f39
* 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
* 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
* ContactsCommon : Add createStarredPhoneOnlyLoaderDanesh M2015-07-241-0/+6
| | | | Change-Id: I6cdd51f5557ca435d189142fe4ee10b27035e963
* ContactPhotoManager - Add ability to fetch contact bitmap based on photo idRohit Yengisetty2015-07-171-5/+31
| | | | Change-Id: Ie9f4ec17ec7f598c8d0005e27107f300af829fc3
* CheckableFlipDrawable : Add getter for front drawableRohit Yengisetty2015-07-131-0/+8
| | | | Change-Id: Id38ecba4b8e4efabebf76e1e4a3167061b8a58be
* 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
* 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
* 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-211-7/+114
| | | | | 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>
* 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
* 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-2538-371/+722
|\ | | | | | | | | | | https://android.googlesource.com/platform/packages/apps/ContactsCommon into cm-12.1 Change-Id: I271972eb6db4d6c5cc620a1adb26b1f06beaf1b4
| * Merge "Add Text-to-Speech annotations to import/export menu phone numbers" ↵Ihab Awad2014-12-081-4/+8
| |\ | | | | | | | | | into lmp-mr1-dev
| | * Add Text-to-Speech annotations to import/export menu phone numbersIhab Awad2014-12-051-4/+8
| | | | | | | | | | | | | | | Bug: 17321294 Change-Id: Iee6a3a9d26e464140f6cfdbd982297f0da06006f
| * | Merge "Fix package manager TransactionTooLargeExceptions" into lmp-mr1-devJay Shrauner2014-12-082-50/+37
| |\ \ | | |/ | |/|
| | * Fix package manager TransactionTooLargeExceptionsJay Shrauner2014-12-052-50/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Add Text-to-Speech annotations for phone number displays (2/3)Ihab Awad2014-12-051-1/+4
| | | | | | | | | | | | | | | Bug: 17321294 Change-Id: I98a6d6dd9684c1f3c29a97263155713493e162c2
| * | Adding ContactLoader support to suppress contact photo loading.Tyler Gunn2014-12-051-4/+19
| |/ | | | | | | | | Bug: 17308163 Change-Id: I3311fd18d666e1de33296fea00f49855b240d938
| * Merge "Make MaterialPalette parcelable" into lmp-mr1-devYorke Lee2014-12-011-1/+31
| |\
| | * Make MaterialPalette parcelableYorke Lee2014-11-261-1/+31
| | | | | | | | | | | | | | | | | | | | | Makes it easier to pass it around in intents Bug: 18373617 Change-Id: I16d235b710dc6c0906c60bf936c7e069a086ca6a
| * | Merge "Fix NPE in loadInBackground" into lmp-mr1-devJay Shrauner2014-12-011-2/+5
| |\ \
| | * | Fix NPE in loadInBackgroundJay Shrauner2014-11-261-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Check resolver query result before instantiating a new entity iterator. Bug:18536624 Change-Id: Ib7d29da5a51fbe0de528029e60aeed3daab53105
| * | | Merge "Fix cursor exception in getThumbnailSize" into lmp-mr1-devJay Shrauner2014-12-011-6/+11
| |\ \ \
| | * | | Fix cursor exception in getThumbnailSizeJay Shrauner2014-11-251-6/+11
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | Check for null cursor and check return value of moveToFirst before reading. Bug:18527155 Change-Id: Id2fc5ff8e22c59968443a1e66d59f24480f045b2
| * | | Merge "Fix cursor exception in changeCursor" into lmp-mr1-devJay Shrauner2014-12-011-2/+1
| |\ \ \
| | * | | Fix cursor exception in changeCursorJay Shrauner2014-11-251-2/+1
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check for return value of cursor.moveToFirst() to prevent a CursorIndexOutOfBoundsException when reading from the cursor. Bug:18526371 Change-Id: I3d6b180d6794921f13137823ab5b5a22fdd6c128
| * / / Fix int/long mismatch for import from SIMJay Shrauner2014-11-252-6/+6
| |/ / | | | | | | | | | | | | | | | | | | Make subscription id an int everywhere. Bug:18524128 Change-Id: I33e443603acb4fbf6d67697b289d99b57ff0bbcd
| * | Fix too many variables SQLiteExceptionJay Shrauner2014-11-241-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | De-dup the set of accounts associated with the raw contacts before appending to the SQL query. Bug:18510108 Change-Id: Ia135a656965bdcfc76df28d60f0636d562f76382
| * | Don't crash in loader on SecurityExceptionsJay Shrauner2014-11-241-2/+2
| |/ | | | | | | | | | | | | Prevent crashes when GAL search fails due to provider authority mismatch. Bug:18507854 Change-Id: I047754dcc6214a6b27661baea3a15c8d9866ecce
| * Additional changes to SubscriptionManager API as per API council.Wink Saville2014-11-222-31/+17
| | | | | | | | | | bug: 17575308 Change-Id: Idd98aa46c15a9219ccf28091c62602ac8bf16c62
| * Revert "Additional changes to SubscriptionManager API as per API council."Wink Saville2014-11-202-8/+24
| | | | | | | | | | | | This reverts commit a63ae799821744f941a1f2d43850372199e075e8. Change-Id: I30d9b82aeaff5595fe952313b5728fb9f6c2c076
| * Additional changes to SubscriptionManager API as per API council.Wink Saville2014-11-192-24/+8
| | | | | | | | | | bug: 17575308 Change-Id: I7773965094510999bfce8fc6b2b31ba6ce496653
| * am e94ad7cc: am faed3374: Switch from CALL -> CALL_PRIVILEGEDYorke Lee2014-11-171-1/+1
| |\ | | | | | | | | | | | | * commit 'e94ad7cc098ed77f4a69130a0393abdad835c9b9': Switch from CALL -> CALL_PRIVILEGED
| | * am faed3374: Switch from CALL -> CALL_PRIVILEGEDYorke Lee2014-11-171-1/+1
| | |\ | | | | | | | | | | | | | | | | * commit 'faed337493039d8b149aace3816000cd396c99fe': Switch from CALL -> CALL_PRIVILEGED
| | | * Switch from CALL -> CALL_PRIVILEGEDYorke Lee2014-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | Bug: 18332160 Change-Id: I5b9bcc8f413e5534bab94e0b2677371968a8e483
| * | | Set snippet/data/phonetic textview text alignment to startWalter Jang2014-11-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Bug 18268394 Change-Id: I9caa9ac5ae4a7df892e546413d7e9dce79ed3f31
| * | | Merge "Update SubscriptionManager API as per API council." into lmp-mr1-devWink Saville2014-11-121-8/+8
| |\ \ \
| | * | | Update SubscriptionManager API as per API council.Wink Saville2014-11-111-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | bug: 17575308 Change-Id: Ib39a60e4f75981a466e9d606ec627756efad018d
| * | | | Update PhoneAccount icon API (2/6)Ihab Awad2014-11-101-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | Bug: 18291787 Change-Id: I80252faaa5a836031d72eb99fe90d2f9aad27460
| * | | Fix build break in AOSP DialerYorke Lee2014-11-061-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 18158037 Change-Id: If67f5a7ec8c18d89d0b3ce16bc06b895a23406fe