summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Add IP call interface supportsxjiang2015-09-112-2/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add the interface to set IP Prefix Change-Id: Ie6e29b24f185ae7c3629eb2c332e6485b5dd88de
| * | | | Supports to choose multi contacts when share visible contactsxjiang2015-09-112-38/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Let user can choose multi contacts when share visible contacts Change-Id: Ib5fe5c3579062240f7be2eb8baddbea96e64622b
| * | | | Add support to export multi contacts to Vcardxjiang2015-09-094-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use the new Intent for leting user to select multi contacts to be exported to vCard. Change-Id: Id7c11eae6fcb269975ba074242b9b879cff2ff26
| * | | | Add import/export contacts from/to SIM cardxjiang2015-09-095-112/+1059
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Support import or export contacts from/to SIM card - Support auto split contacts according email and number count when export to SIM card - Add the interface to get anr and email count - Add the interface to copy contacts between SIM card and Phone Change-Id: Iba56d1ca38d9fdb32469a961bf0a370daeac4bff
| * | | | Add the support for SIM and Phone accountblong2015-09-0717-26/+1214
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add SIM and Phone account type - Add insert/update/delete operation for SIM contacts - Add the support for filter SIM contacts - Add support to save anr and email for SIM contacts Change-Id: I1aaa9046462ed114488e4cd0cfa0d061a7330c69
| * | | | IMS-VT: Enable Video Calling option based on configurationRavi Paluri2015-08-251-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added <config_ims_enable_video_calling> config flag that takes 0 - Enable/disable video calling based on local/peer video capabilities 1 - Enable video calling regardless of local/peer video capabilities 2 - Disable video calling regardless of local/peer video capabilities Change-Id: Ib4583cc680b304bf3f223aaa3bfcf4d189557cfe CRs-Fixed: 781722
| * | | | SimContacts: Add support for manage SIM Contacts.Rakesh Pallerla2015-08-212-12/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for 1) Showing Manage sim contacts instead of import sim contacts in UI. 2) Showing Export contacts to sim card in UI and launch relevant activity to export contacts to SIM Change-Id: If0b668a1c91586b67d841bc4b63adf09279261eb
* | | | | IMS-VT: Enable Video Calling option based on configurationRavi Paluri2015-10-061-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added <config_ims_enable_video_calling> config flag that takes 0 - Enable/disable video calling based on local/peer video capabilities 1 - Enable video calling regardless of local/peer video capabilities 2 - Disable video calling regardless of local/peer video capabilities Change-Id: Ib4583cc680b304bf3f223aaa3bfcf4d189557cfe CRs-Fixed: 781722
* | | | | SimContacts: Add support for manage SIM Contacts.Rakesh Pallerla2015-10-062-12/+29
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for 1) Showing Manage sim contacts instead of import sim contacts in UI. 2) Showing Export contacts to sim card in UI and launch relevant activity to export contacts to SIM Change-Id: If0b668a1c91586b67d841bc4b63adf09279261eb
* | | / Correctly handle empty permissions array in callbackYorke Lee2015-08-121-1/+2
| |_|/ |/| | | | | | | | | | | | | | | | | If permissions string array is empty, don't enter an infinite loop. Bug: 22946608 Change-Id: I67056f33ad8835577bb68340676d72fbba7ac965
* | | Merge "Use text/x-vcard mime type when importing/exporting .vcf files" into ↵Walter Jang2015-08-113-4/+4
|\ \ \ | |_|/ |/| | | | | mnc-dev
| * | Use text/x-vcard mime type when importing/exporting .vcf filesWalter Jang2015-08-113-4/+4
| |/ | | | | | | | | | | Bug 22940695 Change-Id: I3ca65650361bc529366e0761541e0081c710ed88
* / DO NOT MERGE Catch SecurityExceptions in onCreateDialogJay Shrauner2015-08-111-2/+7
|/ | | | | | | | | | | Catch exceptions thrown if missing READ_PHONE_STATE; don't list the menu items that require reading from the SIM in that case. Bug:23089597 Bug:22984670 Change-Id: I845d597858917dde57bb1f22c05f6be095517fd4 (cherry picked from commit 65ee5ddb67813156460ca4c4373922df1a79e917)
* Fix references to PHONETIC_NAME_STYLEJay Shrauner2015-07-303-10/+4
| | | | | | | | | | | | ContactsContract.StructuredName and ContactsContract.Organization contain a hidden PHONETIC_NAME_STYLE string that causes public users instead to get an incorrect value inherited from ContactNameColumns. Remove unused uses of PHONETIC_NAME_STYLE and rewrite ValuesDelta usage to use the DATA11 column. Change copyStringFrom() so that it doesn't always populate an entry for null values. Bug:22825056 Change-Id: Ide28b12e55c27c3d5fc6140184bcd2a7d0c98a60
* Merge "Catch SecurityExceptions when importing" into mnc-devJay Shrauner2015-07-251-1/+9
|\
| * Catch SecurityExceptions when importingJay Shrauner2015-07-201-1/+9
| | | | | | | | | | Bug:22609672 Change-Id: Iea43c86b33f6e5e84923ae1193e0fd820e7cd0f5
* | Merge "Add utility method to check for AppOp" into mnc-devYorke Lee2015-07-251-0/+10
|\ \
| * | Add utility method to check for AppOpYorke Lee2015-07-241-0/+10
| |/ | | | | | | | | Bug: 22660372 Change-Id: Ica4750e9ad36a097ec66dcba3f9c6a106f456897
* | Merge "Delay AccountTypeManager init until we have the Contacts permission ↵Walter Jang2015-07-241-0/+8
|\ \ | | | | | | | | | 2/2" into mnc-dev
| * | Delay AccountTypeManager init until we have the Contacts permission 2/2Walter Jang2015-07-231-0/+8
| |/ | | | | | | | | | | Bug 22690336 Change-Id: I6709e09f4f1a5f561a2dce06c5684f76945ddb9b
* / Add back READ_EXT_STORAGE so we can handle vcard imports again 3/3Walter Jang2015-07-241-0/+1
|/ | | | | | | | Bug 22669733 Bug 22610204 Bug 22609672 Change-Id: I90352a4bf6c48f029898b28ceb3365d7b66033e6
* Merge "Add utility methods to listen for permission granted broadcasts" into ↵Yorke Lee2015-07-171-0/+45
|\ | | | | | | mnc-dev
| * Add utility methods to listen for permission granted broadcastsYorke Lee2015-07-171-0/+45
| | | | | | | | | | Bug: 22174668 Change-Id: I527bec3e607b0677c587c704333216ecdabe7558
* | Remove WRITE_EXTERNAL_STORAGE from desired permissionsWalter Jang2015-07-171-1/+0
| | | | | | | | | | | | | | | | Missed this in ag/727199 where it was removed from required permissions. Bug 22454038 Change-Id: Idf389881b98da22bb69cb8783899e6e7e315ac69
* | Merge "Check for permissions in ContactPhotoManager" into mnc-devYorke Lee2015-07-151-0/+4
|\ \
| * | Check for permissions in ContactPhotoManagerYorke Lee2015-07-141-0/+4
| |/ | | | | | | | | Bug: 22487648 Change-Id: Ibfe11fd3a4ffe0e210ba16efa4e38f0c8dab47db
* | Remove READ_EXT_STORAGE perm now that user selects vcard import location 1/3Walter Jang2015-07-141-1/+0
| | | | | | | | | | | | Bug 22454038 Change-Id: Ib7002b53df7bd639a2ee0136cb62ff549001a9c3
* | Merge "Allow the user to select the vcards to import" into mnc-devWalter Jang2015-07-146-422/+58
|\ \ | |/ |/|
| * Allow the user to select the vcards to importWalter Jang2015-07-146-422/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Don't cache results of permission check" into mnc-devYorke Lee2015-07-141-28/+3
|\ \ | |/ |/|
| * Don't cache results of permission checkYorke Lee2015-07-131-28/+3
| | | | | | | | | | | | | | | | For maximum safety, always check the current permission status on the fly. Bug: 22455059 Change-Id: Ib5cfd9fe1ab6222ff1d67354cb1ebb9bcd46873f
* | Add back READ_EXTERNAL_STORAGE permission for vcard import 2/3Walter Jang2015-07-131-0/+1
| | | | | | | | | | | | | | | | WRITE_EXTERNAL_STORATE was removed to fix b/22208705 Bug 22453182 Change-Id: I0b46ed82142d6fe1384d847a31f6428325e1c3da
* | Fix broken contacts common unit testsWalter Jang2015-07-101-0/+1
|/ | | | | | | | | | | | | | | | | * Brian informs me that he (or Makoto) changed the external account type constructor to not abort if it doesn't parse the xml so I updated the test for unknown packages to expect to get initialized. * Looks like an omission that SIP address does not have a maxOccurs set to 1 when initilized. I tried to change the test data file contacts_fallback.xml to not include a maxOccurs attr but it needs one and it must be set to 1. Bug 15413731 Change-Id: I4a8a297799686885eaa64868a2b8c0f25c177f4b
* Resolve vcard export file display nameWalter Jang2015-07-093-6/+28
| | | | | | | | | | The display name of the export destination file is displayed in the Toast indicating that an export has been initiated as well as in the notification displayed after the export completes. Bug 22208705 Change-Id: Ifbf80945614d6d3244b58acff2160e3caf051d8d
* Let the user choose where to export vcards to 1/3Walter Jang2015-07-084-288/+33
| | | | | | | | | | | | | | | | | | Instead of always using external storage. Also we change the suggested export filename from something like 00001.vcf to just contacts.vcf. Since we don't know the destination directory anymore untill after it is selected, we can't check if there is already an exported vcf file there in. The Activity handling ACTION_CREATE_DOCUMENT handles file name collisions itself anyway. Screenshots https://goto.google.com/b22208705 Bug 22208705 Change-Id: I17bac2f483e200c13adf1429c0eade17e4d2908a
* Correctly recache permission statusYorke Lee2015-07-011-3/+3
| | | | | Bug: 22205650 Change-Id: I356d202a76f48ba76a815d533c163cefcb85a596
* Fix NPE in ViewPagerStripsYorke Lee2015-07-011-0/+7
| | | | | Bug: 22201498 Change-Id: I4c44b91d5d19a17958fd8fd6b9433875a30a9901
* Catch transaction too large exceptionBrian Attwell2015-06-281-26/+33
| | | | | | | | | | If you are sharing a bazillion contacts, then the shared intent's URI can be longer than the binder limit. This causes a crash. For now, lets prevent the crash from occuring and show a toast. Bug: 22083005 Change-Id: I2028929a49240a1982301b46f7e2eb4b3d6239bb
* Merge "Remove isVisibility check before scaleIn." into mnc-devAndrew Lee2015-06-261-7/+1
|\
| * Remove isVisibility check before scaleIn.Andrew Lee2015-06-251-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Turns out, assumption that we'd never want to scaleIn a visible FAB is false. If the FAB is in the middle of a transition (eg. scaling out), it cancels that animation, and some states can conflict. It's possible to fix these in this statement, but... at this point, it just seems more conservative just to leave it the way it was working before and address the FAB case in Dialer differently. Bug: 21938194 Bug: 22070516 Change-Id: I5e5f88af71faed4ce603e21b00f526e829e6d3fc
* | Merge "Improve Contacts' permission handling" into mnc-devBrian Attwell2015-06-254-161/+215
|\ \
| * | Improve Contacts' permission handlingBrian Attwell2015-06-254-161/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of repeatedly asking the user for the same permissions over-and-over, instead only ask them once when they open an activity. If they give us all the permissions we require, then allow them to continue. If not, close the activity and show the user a toast. Bug: 21791169 Change-Id: Idae927d525124ed8a7081bd5a8edbd24e1ba3190
* | | Merge "Swap in right icon for messaging and info." into mnc-devAndrew Lee2015-06-252-3/+3
|\ \ \
| * | | Swap in right icon for messaging and info.Andrew Lee2015-06-242-3/+3
| | |/ | |/| | | | | | | | | | | | | | | | - Remove/replace older versions. Bug: 22070564 Change-Id: I7dba27e960f20dab276b602746be32ccc10a0bcc
* | | Merge "Temp fix for permission issues" into mnc-devBrian Attwell2015-06-251-21/+10
|\ \ \ | |/ / |/| / | |/
| * Temp fix for permission issuesBrian Attwell2015-06-241-21/+10
| | | | | | | | | | | | | | | | | | I want to unblock QA. So I'm writing this small fix, while the full fix is still in review. Bug: 22066742 Bug: 21791169 Change-Id: I8d422ae7d3c8f189c9c7f697d8a9f4c1ec1d5785
* | Merge "Protect against CP2 crash in Dialer" into mnc-devYorke Lee2015-06-242-8/+27
|\ \
| * | Protect against CP2 crash in DialerYorke Lee2015-06-232-8/+27
| | | | | | | | | | | | | | | Bug: 21755796 Change-Id: Icd6ca156b799457bd527fd4e2a83c37b9faf4b9b
* | | Safety; set scale to 1, even if FAB is visible.Andrew Lee2015-06-221-0/+2
|/ / | | | | | | | | Bug: 21903907 Change-Id: I8e56c9d037c74049e1027d1d00edcee20e3e4d07
* | Add overload for fab align() method.Andrew Lee2015-06-161-0/+11
| | | | | | | | | | Bug: 21161760 Change-Id: I0c2b00be3f053d1797f00e20877f285746acdc8a