summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Contacts: ast translations in es-rXA" into cm-10.2cm-10.2Marco Brohet2014-01-191-0/+231
|\
| * Contacts: ast translations in es-rXAmalditoastur2013-12-171-0/+231
| | | | | | | | Change-Id: I23291bc58bdde65b14292bda7c0159617c41088f
* | Make contacts photo pickers compatible with new documents UIYorke Lee2013-12-058-161/+267
|/ | | | | | | | | | | | | | | | | | | The old contacts photo picker code was using unguaranteed behavior (that Intent.GET_CONTENT would support MediaStore.EXTRA_OUTPUT) and this caused it to not work anymore with the new document picker. This CL changes all usages of files to instead use URIs. Also, a FileProvider has been added to Contacts, to allow us to pass in URI pointing to our private cache in intent.setClipData with Intent.FLAG_GRANT_WRITE_URI_PERMISSION and Intent.FLAG_GRANT_READ_URI_PERMISSION so we no longer have to reply on the MediaStore.EXTRA_OUTPUT being parsed and supported. The use of the FileProvider also prevents unauthorized access to temporary files during the caching process. Bug: 10745342 Change-Id: Iaee3d7d112dd124a2f5596c4b9704ea75d3b3419
* Check whether mimetype is empty or notcm-10.2.0kasif2013-11-061-0/+3
| | | | | | | | | | | Contacts Provider throws illegal argument Exception if Mimetype of any data kind is empty. Contacts application does not have any check for mimetype being empty when contacts get saved. Check whether mimetype is empty or not before saving a contact. Change-Id: Ibf9da0fd7f8665e571150e40109a6f3da26b8cbe CRs-Fixed: 546239
* Contacts: Fix the "Remove photo" doesn't work issuekaiyiz2013-11-061-0/+12
| | | | | | | | | | | If popup shown, it will leak when contact editor fragment bind editors. So it need dismiss with content view remove all views. Dismiss the popup when context view remove all views. CRs-Fixed: 537228 Change-Id: Id7ca52f2b7dc470b3c8b6f47ec46721cb05fbf4a
* Contacts: "Add new" will disappearkaiyiz2013-11-061-0/+4
| | | | | | | | | | It isn't update the view when delete the editor. Update the state of the view when delete the editor. CRs-Fixed: 537322 Change-Id: Ie773497d480f87fa323b4ac2e3fd4bc89e4eb1a7
* Contacts: Join the current contact with the selected contactkaiyiz2013-11-061-2/+5
| | | | | | | | | | | | | Aggregation exceptions in database are not updated completely when the user try to join the current contact with the selected contact. When join the current contact with the selected contact, we should update all the aggregation exceptions for each pair of raw contacts. CRs-Fixed: 542577 Change-Id: If5388bc2a5c3b63b54286084e228be47e1c2bcd3
* Contacts: The message will disappear after switching to landscapekaiyiz2013-11-061-1/+1
| | | | | | | | | | | The height of the ScrollView be set to 0 Pixel after switching to landscape in the layout xml. Set the height of the ScrollView. CRs-Fixed: 539203 Change-Id: I1970d67f349ecd3c7fe58b21c08900c1bd6e9285
* Contacts: Context menu display incompletelykaiyiz2013-11-064-0/+31
| | | | | | | | | | | | It isn't dismiss the Popup when rotate screen, and the position of the Popup in landscape mode is wrong, so it will display incompletely. Dismiss the Popup when rotate screen. CRs-Fixed: 539462 Change-Id: Ia103f63cd1edfbf9510532a4b6c1b6830b324946
* Contacts: Contacts crash when tap "Tag" againkaiyiz2013-11-061-1/+1
| | | | | | | | | | | If set ellipsis at middle of text, Array index out Of bounds exception will happen when calculate ellipsis. Set ellipsis at end of the text. CRs-Fixed: 541823 Change-Id: I4daba4fb7c74b827010227ab9a1501416b6307b9
* Contact: Phone crash when turn on airplane modekaiyiz2013-11-061-0/+14
| | | | | | | | | | | It needn't destory loader When filter the SIM card contact. Override the interface that implement destory loader in contact picker fragment. CRs-Fixed: 509580 Change-Id: Ib90ef8536818a4ee56dbecf33e565fc7d929f929
* Contact: Phone crash when save a contact after switch the accountkaiyiz2013-11-061-0/+9
| | | | | | | | | | | | | | The state of the account switcher is incorrect after end a MT call, the contact has been saved and the action is "EDIT" after end a MT call, so user should can't switch account now. Add a judgment to update the value of the variable that indicates whether there is a new contact, the program will disable the account switcher according to this value. CRs-Fixed: 528413 Change-Id: Iaf3dbddc4803f7120c1a7613e42997cb72684387
* Contacts: will pop up "Unfortunately, contact has stopped.".kaiyiz2013-11-061-0/+1
| | | | | | | | | | | | | | | | | In ContactEditorActivity, when long press name information in AddLocalGroupDialog, SoftInput board and action bar were shown. The rotation of screen caused ContactEditorActivity to recreate and dismiss AddLocalGroupDialog. Then SoftInput board and action bar lost their dependent view. At last, the crash happend. Through adding 'android:configChanges="orientation|screenSize |keyboardHidden|locale"' into AndroidManifest.xml to avoid the recreate-operation of ContactEditorActivity. CRs-Fixed: 526660 Change-Id: I493133246a93b5cc5e239df6e01f51f032bf7aba
* Contacts: Menu bar is missing after erasing datacm-10.2-M1kaiyiz2013-10-271-0/+2
| | | | | | | | | | | | When provider status is not normal, the menu bar is hide. After it returns to normal again for the first time, the option menu is not invalidated for it is not changed. So menu bar is still hided. Invalidate the menu when the provider status is normal. CRs-Fixed: 510812 Change-Id: I4ebb6397e29d2cdb090886f1ca71d635ffa42ff1
* Contacts:The "Settings" button should display in Chinese modekaiyiz2013-10-272-4/+4
| | | | | | | | | | | | | In Chinese mode,the parameters "config_sort_order_user_changeable" and "config_display_order_user_changeable" set false,this causes "Settings" button disappear. In Chinese mode,set "config_sort_order_user_changeable" and "config_display_order_user_changeable" to true. CRs-Fixed: 521577 Change-Id: I52095e5fe7f9cb155e96fbf6a1d0d2b50649bc7d
* Merge "Contacts: UG translations" into cm-10.2Marco Brohet2013-10-121-0/+231
|\
| * Contacts: UG translationssahranbay2013-10-121-0/+231
| | | | | | | | Change-Id: Ie56636a261d6fc6312a4f0f83f335e3c0f1863f7
* | Revert "[1/2] Allow hiding frequently contacted lists"Danny Baumann2013-10-075-90/+0
|/ | | | | | This reverts commit 290c10cb011dffa0d0ee264a4199e680c7cfcf39. Change-Id: I7e65d3be0b837b9861d9ff94e7abe6d0ddb96531
* Merge "Contacts: HU translation" into cm-10.2Marco Brohet2013-10-051-0/+19
|\
| * Contacts: HU translationTamas Toth2013-10-031-0/+19
| | | | | | | | | | | | | | PS2: Remove comments/whitelines PS3: Triggering Cid Change-Id: I405d65c02abc50d9ef5917727aded6bc5e9d4f64
* | Contacts: ES translationsLorenzo M2013-10-031-0/+20
| | | | | | | | | | | | PS3 & 4: Trigger Cid Change-Id: I79cf59ae8d0365835c4cad5bc49855deda837c6b
* | Contacts: PT-BR update translationsGustavo2013-10-011-0/+20
|/ | | | Change-Id: Iab726e407760d4c377baf75165560c07d3ddfc54
* [1/2] Allow hiding frequently contacted listsNLJ2013-09-052-0/+31
| | | | Change-Id: I09501cf9f851109ede640b80a9e0b1848ddf4a80
* Contacts: allow theming via theme chooserelelinux2013-08-2515-24/+61
| | | | Change-Id: Iddd6874ed420611a98d64aadede0bb203a707f2b
* Contacts: fix missing December in Date PickerPawit Pornkitprasan2013-07-261-4/+2
| | | | | | | | | setDisplayedValues resets the min value to 0 and max value to 11 if out of range, in our case, it resets to 1-11! Setting the min and max value after setDisplayedValues is a good workaround since we do not want to modify how the standard widget works Change-Id: I3624fadcb027dfe1562be528252b2d3010f537e8
* Fix group list view on 10" tablet landscape mode.Chiao Cheng2013-06-071-2/+2
| | | | | Bug: 9337808 Change-Id: I522edc909782d376dcc7bc969277bba2aacaa9bc
* am b1b88e86: am 7d8ea25e: am 9ca2bf95: am 928cb3f9: am aa396d3e: resolved ↵William Luh2013-06-050-0/+0
|\ | | | | | | | | | | | | conflicts for merge of 8df53636 to jb-mr1-dev * commit 'b1b88e861c0748dd317b1e0ec00cc1d295e0b795': Set explicit destination for CALL_PRIVILEGED
| * am 7d8ea25e: am 9ca2bf95: am 928cb3f9: am aa396d3e: resolved conflicts for ↵William Luh2013-06-050-0/+0
| |\ | | | | | | | | | | | | | | | | | | merge of 8df53636 to jb-mr1-dev * commit '7d8ea25e479744e0b9e9d58a4daa3579631ca3d3': Set explicit destination for CALL_PRIVILEGED
| | * am 9ca2bf95: am 928cb3f9: am aa396d3e: resolved conflicts for merge of ↵William Luh2013-06-050-0/+0
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | 8df53636 to jb-mr1-dev * commit '9ca2bf95f4f1a0682f593d65765bf9e211977efa': Set explicit destination for CALL_PRIVILEGED
| | | * am 928cb3f9: am aa396d3e: resolved conflicts for merge of 8df53636 to jb-mr1-devWilliam Luh2013-06-050-0/+0
| | | |\ | | | | | | | | | | | | | | | | | | | | * commit '928cb3f9f814bf5fafde026377c6a47c0729ff41': Set explicit destination for CALL_PRIVILEGED
| | | | * am aa396d3e: resolved conflicts for merge of 8df53636 to jb-mr1-devWilliam Luh2013-06-051-0/+10
| | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | * commit 'aa396d3e67c5ee4cd301ade1848f31a523ea8564': Set explicit destination for CALL_PRIVILEGED
| | | | | * resolved conflicts for merge of 8df53636 to jb-mr1-devWilliam Luh2013-06-051-0/+10
| | | | | |\ | | | | | | | | | | | | | | | | | | | | | Change-Id: Iccf2827821a86a1f36193987b1909e0debedd362
| | | | | | * am b24e341f: Set explicit destination for CALL_PRIVILEGEDSantos Cordon2013-06-051-1/+10
| | | | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b24e341f9315ebb8da9bbb1cb8a9eff83d743274': Set explicit destination for CALL_PRIVILEGED
| | | | | | | * Set explicit destination for CALL_PRIVILEGEDSantos Cordon2013-06-031-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:8950263 Change-Id: I8e40298a20e513012082c7e166326ed9cdaa952b Conflicts: src/com/android/contacts/ContactsUtils.java
* | | | | | | | Fix RTL layout for 10" tablet in landscape mode.Chiao Cheng2013-06-041-20/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The main layout was using the InterpolatingLayout which does not properly support RTL. In this particular case, the features of the InterpolatingLayout is not used and can be replaced with a standard LinearLayout. Bug: 9261442 Change-Id: Ie49a975d83287e1939b3449559db7f6290082865
* | | | | | | | am c7b0bbf2: (-s ours) am 7a4a4cd0: am 5537b232: Set explicit destination ↵Santos Cordon2013-05-290-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for CALL_PRIVILEGED * commit 'c7b0bbf20780be8efe77ed1fefff2632e9e79484': Set explicit destination for CALL_PRIVILEGED
| * | | | | | | am 7a4a4cd0: am 5537b232: Set explicit destination for CALL_PRIVILEGEDSantos Cordon2013-05-281-0/+10
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7a4a4cd08aac01aed1a6a3d2cb88f4bfdc6dac39': Set explicit destination for CALL_PRIVILEGED
| | * | | | | | am 5537b232: Set explicit destination for CALL_PRIVILEGEDSantos Cordon2013-05-281-0/+10
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '5537b2329ca0b210ee7fd1fac4ff888b43f105d2': Set explicit destination for CALL_PRIVILEGED
| | | * | | | | Set explicit destination for CALL_PRIVILEGEDSantos Cordon2013-05-211-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:8950263 Change-Id: I8e40298a20e513012082c7e166326ed9cdaa952b
* | | | | | | | Merge "Fix UI corruption in landscape mode" into jb-mr2-devYorke Lee2013-05-146-7/+2
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix UI corruption in landscape modeYorke Lee2013-05-136-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add window background to PeopleActivity Bug 8796000 Change-Id: I3c6e1cb4b411ec720ab60d33e6d1c2238ba5bf90
* | | | | | | | | Enlarging group header for vertical layout on tablet.Chiao Cheng2013-05-101-1/+3
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The account email was partially cut off at the bottom in tablet vertical mode. This is because the header is shown as two lines in this mode. Changed to wrapContent/minHeight to ensure lines are shown. Bug: 8895550 Change-Id: I3c281fd00d47142635906d2988e7720b55c2fe70
* | | | | | | | Force LTR for phone numbers in contact details and editorYorke Lee2013-05-033-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 8676101 Change-Id: Ia5117c2e7dbffb5ca17e4147a20bdade500a8c92
* | | | | | | | Import translations. DO NOT MERGEBaligh Uddin2013-04-225-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib92b6c1b43459ba987d037eca492cf46d173450a Auto-generated-cl: translation import
* | | | | | | | Merge "Do not start account setup screen in limited user mode." into jb-mr2-devChiao Cheng2013-04-191-1/+8
|\ \ \ \ \ \ \ \
| * | | | | | | | Do not start account setup screen in limited user mode.Chiao Cheng2013-04-191-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check for modify account ability before sending user to account setup screen. In limited user mode, you cannot add accounts so there is no point trying to send users there. In fact, this caused the app to abort. Bug: 8647306 Change-Id: If20a5f3b9d4e0689a1d884d9106877b1d561294d
* | | | | | | | | Merge "Fixing unit tests and moving to proper location." into jb-mr2-devChiao Cheng2013-04-171-180/+0
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Fixing unit tests and moving to proper location.Chiao Cheng2013-04-161-180/+0
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 8621998 Bug: 7519057 Change-Id: Id6ad4cdc87789d9966c5b9a5102964e5d5db5e41
* / / / / / / / / Fixing "create new contact" button blink when searching.Chiao Cheng2013-04-161-1/+2
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 8483779 Change-Id: I95bd02719db754ea53f829ddaae7209e6871d1ae
* | | | | | | | Merge "Check if cursor is closed." into jb-mr2-devChiao Cheng2013-04-111-1/+1
|\ \ \ \ \ \ \ \