summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ContactsCommon: remove ticker text on importing contactscm-11.0-XNPH05Q-tomato-9828f8e9ccstable/cm-11.0-XNF8Yshipping/cm-11.0Roman Birg2014-12-011-6/+1
| | | | | | | | This gets pretty spammy and ends up clogging down the status bar. Change-Id: I1b6284243c5f281284c8203adcd0d015f5bde42b Signed-off-by: Roman Birg <roman@cyngn.com> (cherry picked from commit 8e41852c3659320bcd20ea61fb71639ae4c61160)
* ContactsCommon: Don't insert contact locally after exporting to simcretin452014-11-201-7/+1
| | | | | Change-Id: Iabe64752c1b7f7e4ccaa385b610aee45324e6ba2 (cherry picked from commit ff88d7582cce36addeb403de8574956af284a18c)
* Merge branch 'cm-11.0' into stable/cm-11.0Brint E. Kriebel2014-11-1813-53/+89
|\
| * ContactsCommon: fix import vcard memory leakRoman Birg2014-11-133-40/+58
| | | | | | | | | | | | | | | | Spawining a bunch of imports at the same time will result in a SystemUI crash due to hold on to Activity context beyond its lifecycle. Change-Id: Id6e9a386bb19a1eb79377472b1bd1696c53d8bbf Signed-off-by: Roman Birg <roman@cyngn.com>
| * ContactsCommon: always create local phone AccountTypeRoman Birg2014-11-136-1/+17
| | | | | | | | | | | | | | | | | | We assumed this was created by an adapter, but no adapter exists to create local contacts. This account type is always available, and any new contacts created will properly be added to this account type. Change-Id: Id2b68ade6ee26b63b6e2eb5cdc65ba04b2b52f5a Signed-off-by: Roman Birg <roman@cyngn.com>
| * ContactsCommon: use formatted sim name when displaying msim cardsRoman Birg2014-11-122-8/+5
| | | | | | | | | | Change-Id: If8295d553cd33308c055429f8c1355b3a8b6c24b Signed-off-by: Roman Birg <roman@cyngn.com>
| * ContactsCommon: fix exporting SIM contacts the first timeRoman Birg2014-11-121-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>
| * ContactsCommon: fix "share visible contacts" showing up blankRoman Birg2014-11-121-1/+1
| | | | | | | | | | Change-Id: I44e2233f1291584c152aa7578976f10a16f7ba11 Signed-off-by: Roman Birg <roman@cyngn.com>
| * Contacts : Ability to have custom view contacts default selectedDanesh M2014-11-102-1/+7
| | | | | | | | Change-Id: Ib9f89a36c788a62cddb7e62a0e8df22ae303d782
| * Automatic translation importMichael Bestas2014-11-102-2/+2
| | | | | | | | Change-Id: Ibe9d8e37db6566d30667814db2df2c7f784424a5
* | Automatic translation importMichael Bestas2014-11-102-2/+2
| | | | | | | | | | Change-Id: Ibe9d8e37db6566d30667814db2df2c7f784424a5 (cherry picked from commit cd2ec296db1fee1c104754e5d3fd5748fd134056)
* | Merge branch 'cm-11.0' into stable/cm-11.0Brint E. Kriebel2014-11-0335-29/+938
|\| | | | | | | | | | | | | | | | | | | Conflicts: res/values-fr/cm_strings.xml res/values-in/cm_strings.xml res/values-lt/cm_strings.xml res/values-th/cm_strings.xml Change-Id: Ice3d5f0dff664db4ea2b60b5aa3691c11d4e9105
| * ContactsCommon: Use global settings for msim namecretin452014-10-312-10/+4
| | | | | | | | Change-Id: I51cf9c269a8f9e2f3bc6e3677e57e2bf9f3453b4
| * Automatic translation importMichael Bestas2014-10-273-3/+65
| | | | | | | | Change-Id: I64c1200ff663d8eaa96c6b75409a85238f2cf71c
| * Fixing Contacts crash when trying to merge two contactsMarcos Marado2014-10-271-1/+1
| | | | | | | | | | | | * getRawContactId() can return null, so we need to be expecting that Change-Id: I28cfb32dfda75ca0ebcaa97796ad682551d080bb
| * Enable support for groups in External contacts accountspulser2014-10-271-0/+5
| | | | | | | | | | | | | | This permits use with DavDroid and other external providers and lets external contacts providers also do groups (as there's nothing otherwise stopping them) Change-Id: I6b8133c03a1a647e52b32007a4891051c2c57999
| * ContactsCommon: Fix CONTACT_SNIPPET declaration.Adnan2014-10-261-2/+2
| | | | | | | | Change-Id: Ie3e993d58083e48f018443209015a922dc30bbf6
| * Added a WANT_CONTACTS intent extra to indicate that we want to export...Zyg0te2014-10-241-0/+4
| | | | | | | | | | | | | | | | ...contacts to storage. This intent extra is then used in the Contacts app to ignore the MAX_CONTACTS_NUM_TO_SELECT_ONCE value so that we can export any given number of contacts to storage. Change-Id: Id3f39b30c545acde1014a4d2a860d5ef022a1b28
| * ContactsCommon: Add PHOTO_ID to contact tile loader projectionemancebo2014-10-231-0/+2
| | | | | | | | | | | | Makes it possible to access photoId to load thumbnails for starred result set Change-Id: I517de035bf312dd36d3b58726a2d26f1afba764e
| * Automatic translation importMichael Bestas2014-10-212-0/+96
| | | | | | | | Change-Id: Ica67efe4b40d14eba22a340c303668217b25c42b
| * ContactsCommon: Add direct call from contact list feature. (1/2)Adnan2014-10-2013-8/+272
| | | | | | | | | | | | - Requires cmcc overlay flag to be set in Contacts. Change-Id: I6f957029a26f3e01825cb57b7b0620f618d1eb69
| * Automatic translation importMichael Bestas2014-10-1513-5/+486
| | | | | | | | Change-Id: I48317096b1541abb78c0367f1a75da5cf6255c46
| * contacts: don't relay on unlocalized stringsJorge Ruesga2014-10-111-1/+2
| | | | | | | | | | Change-Id: I046ad1446b926e5fb0862dd679c0430b57230821 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
| * Automatic translation importMichael Bestas2014-10-0421-26/+73
| | | | | | | | Change-Id: Idc3fea0b538668d123c720036aebce658a97dd3f
* | Automatic translation importMichael Bestas2014-10-0521-26/+73
|/ | | | | Change-Id: Idc3fea0b538668d123c720036aebce658a97dd3f (cherry picked from commit fb705a15c9930ea626ad1899ac2c1ea6bb32c1f7)
* ContactsCommon: Improve stringMichael Bestas2014-09-301-1/+1
| | | | Change-Id: Iacc6b6722db03da186ac6960442dfbd1fcd7b99c
* Automatic translation importMichael Bestas2014-09-2929-2/+1075
| | | | Change-Id: I80a04d2d61be251f29255aafe626592f184d062e
* Revert "ContactsCommon: Remove unused strings"Martincz Gao2014-09-241-0/+8
| | | | | | | | We need them. Fix build. This reverts commit 01b20a0882f10fe186f09a4f6d5f1d9f7c7caab2. Change-Id: I0f401f0c4a506cf1960f0d5145bf4e8876bfb58a
* ContactsCommon: Remove unused stringsMichael Bestas2014-09-241-11/+0
| | | | Change-Id: Ib99e9d76a85b374a82bdbbfc766136450a676642
* Merge "Make sure internal lists of AccountTypeManager aren't modified." into ↵Danny Baumann2014-09-181-7/+8
|\ | | | | | | cm-11.0
| * Make sure internal lists of AccountTypeManager aren't modified.Danny Baumann2014-09-161-7/+8
| | | | | | | | Change-Id: Iab3d31db52546dbfcf9f9b0cc6b8152ef48a15fe
* | Merge "String improvements." into cm-11.0Danny Baumann2014-09-183-13/+17
|\ \
| * | String improvements.Danny Baumann2014-09-163-13/+17
| |/ | | | | | | Change-Id: I6d5ed4c5a983e821f32a0655afe820c5b249e432
* / Cleanup newlines in stringsMichael Bestas2014-09-171-7/+3
|/ | | | | | * These look bad in crowdin, strings should be single-line Change-Id: Ia17e7485a11f14df76fce4ba74721be42b78ab40
* Automatic translation importMichael Bestas2014-09-131-0/+12
| | | | Change-Id: Ib37c96af931068c818f0cc116a44800891c50d4d
* Merge "contacts: return the first sdcard entry found" into cm-11.0Danny Baumann2014-09-071-3/+2
|\
| * contacts: return the first sdcard entry foundJorge Ruesga2014-09-071-3/+2
| | | | | | | | | | Change-Id: I8b036da9c04ae6b7c78d75163134a4ca816dc79b Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | Merge "contacts: don't assume the device has an sdcard" into cm-11.0Danny Baumann2014-09-073-12/+22
|\|
| * contacts: don't assume the device has an sdcardJorge Ruesga2014-09-073-12/+22
| | | | | | | | | | Change-Id: Ie9025a803a3df1ee2ab364c1c073880d89186f01 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | Improve strings.Danny Baumann2014-09-053-35/+27
|/ | | | Change-Id: I8d23479cac769ec5f6b3ae6dde9faa17cb6df025
* ContactsCommon: fix saving contacts locallyRoman Birg2014-09-023-8/+19
| | | | | Change-Id: I3bc3be851e39104bf31d0088aa2fde4f8e3b5ec9 Signed-off-by: Roman Birg <roman@cyngn.com>
* ContactsCommon: fix account filteringRoman Birg2014-09-021-3/+6
| | | | | | | No need to trim accounts when displaying all accounts. Change-Id: I830882a7f43f8875718897de1362fc5b787cab62 Signed-off-by: Roman Birg <roman@cyngn.com>
* ContactsCommon: Fix spelling error.Adnan2014-09-021-2/+2
| | | | Change-Id: I9962c619b659d8563e021c661f944abdd381417f
* Add support to save multi anr and email in SIM cardblong2014-09-025-50/+127
| | | | | | | | - support to save multi anr and email for SIM contacts CRs-Fixed: 696392 Change-Id: I736dc1776947fa732c3fc164f4846c8879fe8740
* ContactsCommon: Check the validity of the subscriptionkaiyiz2014-09-021-1/+1
| | | | | | | | | | The invalid sub index causes ArrayIndexOutOfBoundsException. Add validity check for the subscription. CRs-Fixed: 693678 Change-Id: Ia70453756c69349ac2c1b2dfe00e6c30b322c26c
* ContactsCommon: Do not pass a negetive param to getPartition(int) methodkaiyiz2014-09-021-1/+5
| | | | | | | | | | | | | | | When ContactListAdapter#changeCursor(int partitionIndex, Cursor cursor) is called, partitionIndex equals to -1 if loader.getId() == -1. And then getPartition(-1) will be called, and that will cause an ArrayIndexOutOfBoundsException. Call mAdapter#changeCursor(null) from onLoaderReset() method when (partitionIndex < 0), do not pass a negative param to getPartition(int) method. CRs-Fixed: 677184 Change-Id: If877157df527498b3d8d54d2f62fd169da9c3c91
* Contacts: Add reasonable prompt for failing to export contactskaiyiz2014-09-022-3/+18
| | | | | | | | | | | | | Except freeSimCount > 0, we consider other cases as the sim card is full. When freeSimCount <=0, check the adn count, it the adn count is 0, we consider it as sim contacts have not been loaded completely. CRs-Fixed: 676506 Change-Id: I2bce07e986606610bcbd6a3f596e9533e6848f18
* Contacts: Support export vCard to both internal/external storagekaiyiz2014-09-021-0/+6
| | | | | | | | | | | By current design, it will export vCard to internal storage. If external storage is avaliable, export vCard to external storage, or export to internal storage. CRs-Fixed: 672495 Change-Id: I3d25761088d0e9b501a0eaa8dedab59bc1598fbd
* Contacts: Add user can choose contacts to share visible contactskaiyiz2014-09-021-30/+14
| | | | | | | | Add user can choose contacts to share visible contacts CRs-Fixed: 671741 Change-Id: Ie54bafa674066665e766232fc9964b98fdbca7a4
* ContactsCommon: Add param to change the right partition's cursor to nullkaiyiz2014-09-021-1/+1
| | | | | | | | | | | | | | When has exchange account, it has partition0 and partition1, when destroyLoader(1), it will call onLoaderReset() in ContactEntryListFragment, but change partition0's cursor to null, evently this will cause the exception. Add partition parameter in onLoaderReset() to change the right partition's cursor to null. CRs-Fixed: 667238 Change-Id: I0b151fda491b7a9b789becdb6ef971be405f1aca