summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importcm-11.0Michael Bestas2015-08-231-0/+21
| | | | Change-Id: I6523e3072d132418719ac80eda03bf36525eef40
* Automatic translation importMichael Bestas2015-06-221-0/+20
| | | | Change-Id: I376c9f215aa2c82c70b8df28750ede05b6b5a5a2
* Automatic translation importMichael Bestas2015-05-311-0/+1
| | | | Change-Id: Ie53b8856358f8d9039e712843718411489fa48b1
* Automatic translation importMichael Bestas2015-04-182-0/+41
| | | | Change-Id: Ic44e0e2d5e1764c08b1bede849bdc03f91f38877
* Automatic translation importMichael Bestas2015-03-161-0/+21
| | | | Change-Id: Ie95299607d37a13377c6c6d8786acc7a2f185907
* Automatic translation importMichael Bestas2015-03-041-0/+21
| | | | Change-Id: I4127259af4896da8029e4e56d150c82553cc2ad3
* Automatic translation importMichael Bestas2015-02-251-0/+21
| | | | Change-Id: I72c0a5585eb7d215857f329da6ae24c69b1ce125
* Automatic translation importMichael Bestas2015-01-191-0/+6
| | | | Change-Id: Ibafbc50012aa1a0be259c57d057a0b869b174087
* Automatic translation importMichael Bestas2015-01-112-12/+0
| | | | Change-Id: I9fe33642123b4b4ad23a67ac7b2c55812c945779
* Automatic translation importMichael Bestas2015-01-032-1/+22
| | | | Change-Id: I6054a4ca5d18eca6600e5d2d6fb8675a537b0e2b
* Automatic translation importMichael Bestas2014-11-274-0/+64
| | | | Change-Id: I6774800bd0d30065f5410dd1fa125b314f19d377
* Fixes cases when a contact was deleted via the contacts app.Chiao Cheng2014-11-211-0/+4
| | | | | | | | | | | | | | In this case, the contact id of the raw contact is nulled out. This has the side effect of making the IN clause of sqlite never equal. Similar to: SELECT 1 as id WHERE id NOT IN (SELECT null); always returns 0 rows because the comparison to null is always false. Protect against this case by eliminating null contact ids. Bug: 11826565 Change-Id: Ide9b150bb7f94d03c210d43dbc8cdd5c42c21cf9
* ContactsProvider: Create add default contact as an overlay-able optionRaj Yengisetty2014-11-133-0/+192
| | | | Change-Id: Icd5f3860e9d48d27bf069b4f10a511cc18b8aebf
* Fix crash after upgrade due to ambiguous columnPeter Wu2014-11-071-2/+2
| | | | | | | | | | | | | | Commit a0c8fe8f47d8cb322ae56ab49c22ce6707ec63bc ("Filter SIM contacts with flag") extended the query to join accounts with the raw_contacts table. Both tables have an "account_name" column which results in an "ambiguous column name" error. Fix this by prefixing the column by the accounts (as name_accounts) table. This issue is triggered whenever the views are regenerated (for example, when updating from JB to KK). The user notices that an app (acore?) crashed on boot and that the dialer is disfunctional. Change-Id: Ia6c5ea788dbaf9506367933fe7051103c5b30696
* Automatic translation importMichael Bestas2014-10-271-0/+20
| | | | Change-Id: Ic0b67308abe10cbd202a3f7dac2e0779ff9ca34d
* Automatic translation importMichael Bestas2014-10-212-0/+42
| | | | Change-Id: I6ecdbb1c8e8ca43c5e416d98f8d070dbf8a09752
* Automatic translation importMichael Bestas2014-10-157-1/+107
| | | | Change-Id: Ic8db64a365265ddefb9ffd7b262ebc1aef196118
* Fix possible syntax error within localgroupsdaeiron2014-10-081-11/+12
| | | | | | If the strings contains a ' char, it would give a syntax error. This should fix that. Change-Id: Icb189ce00f793369801abe2ec71c8375a502f619
* Automatic translation importMichael Bestas2014-10-043-1/+43
| | | | Change-Id: I274b7c83cf50b368d4786a6a7aa35cf362e51267
* Automatic translation importMichael Bestas2014-09-2935-8/+609
| | | | Change-Id: I6ef9a446060fea0d4f7f69c4f917ac120e2b2af6
* Contacts: Move custom strings to cm_strings.xmlEthan Chen2014-09-082-4/+22
| | | | | | * These strings from the CMCC merge were missed, move them now. Change-Id: If32f55c4ab5c77fd83de3c6772c179f80a69426a
* ContactsProvider: Upgrade database for new views, columnsEthan Chen2014-09-041-1/+20
| | | | | | | | * Commit: "Filter SIM contacts with flag" changed views and others changed the columns and search index. * Force a database upgrade to make sure user data is properly migrated. Change-Id: Icae464779f0f77fb53d0fdbcd946c4d4582baa91
* Fix the unitest failure problemblong2014-08-287-35/+58
| | | | | | | | | - Fix the problem of test case to make sure it can run normally - Fix the API problem which can't pass test case CRs-Fixed: 652947 Change-Id: I028cf298ce4d6e93a75de21d3538355ee0b43bef
* Revert "ContactProvider: add another check for local accounts"Ethan Chen2014-08-281-4/+1
| | | | | | This reverts commit 5cb6488665f2e4695e4754b3df9314704e88733d. Change-Id: I48241044ce2c71aef128cb6fcbf62acdb45f919f
* Contacts: Fix CTS failure in testGroupsTable/testAddToGroupkaiyiz2014-08-281-2/+3
| | | | | | | | | | | Group is inserted into local account if no account is designated, but account name and account type are null when query contacts groups. Query local account if no account designated when query contacts groups. CRs-Fixed: 645031 Change-Id: I3850ba5cdf222b6273cc1d43ac738067f4e9aaf9
* Contacts: Fix fuzzy search do not check the name column issuekaiyiz2014-08-281-9/+60
| | | | | | | | | | | | | When it is fuzzy search for phone number, we should also consider the name column, like original design. MATCH will be unavailable if we modify FTS's where statement directly. So, we will Union phone number fuzzy query to the original SELECT statement. CRs-Fixed: 639685 Change-Id: Iff9a7204779bd41d3d416ce00a2ae080a554b27a
* Mms: Fix contacts don't display in phone after import vcf filekaiyiz2014-08-281-1/+2
| | | | | | | | | | The default local account is null. Change the default local account data to be phone account. CRs-Fixed: 637849 Change-Id: If1205cd83b7e6f07f5b0077c0464546e4bc8d738
* Fix issue that SIM contact don't display in contact pick viewCheng Xiaolong2014-08-281-6/+1
| | | | | | | | If the query doesn't indicate which account to select, choose all contacts including those with empty account. Change-Id: Ib62081e87a6360ba7b90e2019114734a35e81b9c CRs-Fixed: 634355
* Contacts: Support fuzzy search for phone numberkaiyiz2014-08-281-4/+23
| | | | | | | | | | | | Add '(' and ')' into the SQL to ensure the SQL is rightly excuted. Only support fuzzy search when there is snippet column and the filter is phone number. Enhance the stability of SQL statement and add entry check for fuzzy search. CRs-Fixed: 631116 Change-Id: Ibbb0ea3e4fbdc419019ebab0ba4ac54f41b87feb
* Contacts: Support fuzzy search for telephone number in contactskaiyiz2014-08-281-37/+27
| | | | | | | | | | | | | In function appendSearchIndexJoin(), for phone number, the SQL "Like 'xxx%'" only return string start with "xxx" from head and we should change it to "%xxx%" to support the fuzzy search result. Modify the SQL string and change "MATCH 'tokens:xxx*'" and "Like 'xxx%'" mode to "Like '%xxx%'" mode for fuzzy search. CRs-Fixed: 614723 Change-Id: If0892fb97f9996938b1122d5229ec6a6bb870668
* ContactsProvider: Add API-getLatinNameLookupKeys() for multi-languageskaiyiz2014-08-281-1/+66
| | | | | | | | | - Add API for getting multi-languages' name-lookup-keys in smart search feature. CRs-Fixed: 606785 Change-Id: Id991e21c2e103875756055ac41083fc83ca51133
* ContactsProvider: Fix can't search out local groups in mms appkaiyiz2014-08-281-1/+2
| | | | | | | | | | | | The LocalGroupsProvider isn't exported, so mms app can't query local groups via ContactsProvider. Add android:exported property and set value true in LocalGroupsProvider. CRs-Fixed: 618763 Change-Id: I9e39fad24b496cc65a9e2cfb9b5f755b0e4bbfd2
* Add the column of duration type in callsblong2014-08-282-2/+20
| | | | | | - add one column of call's duration type Change-Id: I094f520074104b1bff87b21bf32058b6fa28cc4d
* Enable home location featureblong2014-08-281-1/+16
| | | | | | Check whether home location provider exist and if yes, query the location. Change-Id: I50a2ae59654289f889a81f97fb9321eeb29e8eaa
* Filter SIM contacts with flagblong2014-08-282-27/+204
| | | | | | | - add account info in the contacts projection - add flags to filter SIM contacts Change-Id: I42521a0170633cdb86bcec84157a0cbbcd5d5ff1
* Create local group databaseblong2014-08-287-10/+239
| | | | | | | - add local group database and sql operation - make Phone account as the default account Change-Id: Ia9b934b2c81f4f99983e5182230fb7376f60a071
* Add one column for subscription ID in the call log databaseblong2014-08-282-1/+22
| | | | | | | | - Add the subscription ID column - Upgrade the database version - add the support to delete the selected call log Change-Id: Ica5ac130f9c64dd9457380614126dcd3cc883232
* ContactsProvider: add the full field search for contactsblong2014-08-281-0/+16
| | | | | | - append the searchable data for custom type Change-Id: If53b5a8552d4e69d87dde44832f1cb9431242a5b
* ContactsProvider: Support contact filter in smart dialerQiang Chen2014-08-286-2/+185
| | | | | | Add query function to match the contacts for smart dialer. Change-Id: I4eee8654699bd4ec6e1ba66f03e80701d3706865
* Contacts: Fix the issue of contacts with same values only display onekaiyiz2014-08-281-1/+1
| | | | | | | | | | | | | | | | | The default aggregation mode was RawContacts.AGGREGATION_MODE_DEFAULT. At this condition, raw contacts items were aggregated immediately when insert operation was completed. As a result, items with same valuses would have same contact_id. So, contacts list only display one vcard file contacts after imported one vcard file sereral times. Change aggregation mode from RawContacts.AGGREGATION_MODE_DEFAULT to RawContacts.AGGREGATION_MODE_SUSPENDED. This will not trigger aggregate when insert operation was finished and items with same values will have different id. So, contacts in one vcard file can display several times after change codes. Change-Id: I6f7a044fb4fdf93dd41c71d4f382ef24d0b18f11 CRs-Fixed: 509642
* ContactsProvider: Update locale before adding call logkaiyiz2014-08-281-1/+4
| | | | | | | | | | | | Use a final variable to save the locale, so it will not be changed when we change the system language. Use a common variable to save the locale and update it before adding call log. CRs-Fixed: 500325 Change-Id: If1aae529385e53c32ba8244445efedc1dd283462
* ContactProvider: add another check for local accountscm-11.0-XNPH44S-bacon-5fa8c79c0bRoman Birg2014-08-261-1/+4
| | | | | | | | This check gets called when account rows get cleaned up and we need to make sure not to delete our new local contacts account. Change-Id: I56d93134cd68a94f5c31b005e6c687ebcabdc070 Signed-off-by: Roman Birg <roman@cyngn.com>
* Automatic translation importMichael Bestas2014-08-235-5/+5
| | | | Change-Id: I68fc2be4fad209f194a445b7dab880ffe6939672
* Automatic translation importMichael Bestas2014-08-091-1/+2
| | | | Change-Id: Iaa855f5486dd8fdf54f3440b6e06868256ad8e6b
* Automatic translation importMichael Bestas2014-07-243-0/+48
| | | | Change-Id: Id888c11687f6c84b3d979e5578a4c9e5690ae9dd
* Automatic translation importcm-11.0-XNPH33R-bacon-3628510d76cm-11.0-XNPH30O-bacon-4f280f505aMichael Bestas2014-06-301-0/+22
| | | | Change-Id: I42ab98534f93ac02a48d2fe80e731c9beb915bd1
* Automatic translation importMichael Bestas2014-06-227-103/+3
| | | | Change-Id: I3e33f75fd2ae00621670f46abfe830510df098c5
* Merge tag 'android-4.4.3_r1' into HEADRicardo Cerqueira2014-06-033-4/+9
|\ | | | | | | Android 4.4.3 release 1
| * Fix EMAIL_FILTER ranking for duplicate emails in different accountsYorke Lee2014-03-011-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When there are there are two identical email data items, each belonging to a different sync adapter account, the "SELECT DISTINCT" operator causes the two emails to be incorrectly grouped before the account prioritization sort order is applied. This can cause the email address to be labelled with the wrong account, causing it to be incorrectly ranked as an email address from another account. To fix this, account name and type is added to the group by clause to ensure that each email address is grouped correctly based on their account before ranking them by account priority. Bug: 12207447 Change-Id: Ib79f6c36ee6a83838bcaa82487f2f7fb9716bbf4 (cherry picked from commit 82d88d65f65a0e3eb816cd1ae9d81a0fd78d8a17)
| * Import translations. DO NOT MERGEBaligh Uddin2014-02-211-2/+2
| | | | | | | | | | Change-Id: I3e809021ea4e581db1930947b97ff7d8d1ce41f4 Auto-generated-cl: translation import