summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | | | | Actually make CARRIER_PRESENCE accessibleMakoto Onuki2015-06-083-1/+15
| |_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 20257870 Change-Id: I5e7e12372dde1aeffaea1e953c16d86e341c3b66
* | | | | | | | | | | | | | Fix broken CP2 unit tests and voicemail cleanupYorke Lee2015-06-047-83/+80
| |_|_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Delete voicemails when VoicemailCleanupService runs by checking whether delete is called internally. * Delete unnecessary MockPackageManager class, and consolidate all logic into ContactsMockPackageManager * Separate permissions tests and delete logic tests in VoicemailProviderTest * Correct the number of exposed Call columns in CallLogProviderTest Bug: 20669398 Change-Id: I695b82b639b93f3ce85bf6e20000279f19e4a14a
* | | | | | | | | | | | | Fix NPE in enterprise API & fix unit tests.Makoto Onuki2015-06-043-4/+150
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 21632829 Bug 21634841 Change-Id: Ic18f44e8de31fe48b1d3b7f3a49c355a4865aeca
* | | | | | | | | | | | Update CP2 unit tests for changed permissionsBrian Attwell2015-06-032-67/+47
| |_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21090207 Change-Id: I496a3c70c69ee1507c626ab2fcee9edf4bdb5ceb
* | | | | | | | | | | Merge "Performance tuning for contact aggregator2" into mnc-devZheng Fu2015-06-037-141/+201
|\ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Performance tuning for contact aggregator2Zheng Fu2015-06-027-141/+201
| | |_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Skip already aggregated raw contacts during aggregation algorithm upgrade. 2. Remove case conversion during email comparion for better performance. 3. Fix bugs in the ContactAggregatorHelper to fix the flaky unit test. Bug:21466686 Bug:19908937 Change-Id: I6f59894a4fdc605fe1b92ac82e2ac9e90561a158
* | | | | | | | | | Decouple ProviderStatus & internal provider stateBrian Attwell2015-06-023-20/+34
| |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21090207 Change-Id: I7e93e36ad0c0d667ac56983c76acb1b97bd8755c
* | | | | | | | | Merge "Fix enterprise path permission checking" into mnc-devRicky Wai2015-06-011-6/+5
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | |
| * | | | | | | | Fix enterprise path permission checkingRicky Wai2015-05-291-6/+5
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21489358 Change-Id: I5f655d5a41723f067533c2ae5c867dcbe3cc604d
* | | | | | | | Import translations. DO NOT MERGEGeoff Mendal2015-05-301-3/+0
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic6e554ded8894af437adadf8a15b81eca1254b36 Auto-generated-cl: translation import
* | | | | | | Merge "Remove location permissions" into mnc-devMakoto Onuki2015-05-291-2/+0
|\ \ \ \ \ \ \
| * | | | | | | Remove location permissionsMakoto Onuki2015-05-281-2/+0
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CountryDetector no longer checks them. Bug 20927020 Change-Id: I38a96dde698afe3761d034cab2299d531a51667e
* | | | | | | Merge "Add READ_PHONE_STATE to CP2" into mnc-devYorke Lee2015-05-281-0/+1
|\ \ \ \ \ \ \
| * | | | | | | Add READ_PHONE_STATE to CP2Yorke Lee2015-05-281-0/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Needed for some phone account management during upgrade steps. Change-Id: I70dec673500721326183fe220fa67a6d26c74d26
* | | | | | | Merge "Stop enforcing {READ,WRITE}_PROFILE permissions" into mnc-devBrian Attwell2015-05-283-43/+8
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Stop enforcing {READ,WRITE}_PROFILE permissionsBrian Attwell2015-05-273-43/+8
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I should also remove all support for the Authorization API from CP2 now that we've decided there is no need for it. I'll leave cleaning this up for after I've finished unbundling the Contacts app. Bug: 21090207 Change-Id: I31e6ae7b0f49c3589071f6a95f8d69a9456c144d
* | | | | | Fix invalidateAggregationExceptionCache().Makoto Onuki2015-05-276-102/+46
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also clean up aggregator in preparation in preparation for b/19482664 Two tests in ContactAggregator2Test are failing, but it's irrelevant to this change. (Bug filed for this.) Change-Id: Id630812335fdaa2ab4955c240700b82fed84d1a8
* | | | | Merge "Fix bugs in aggregator2." into mnc-devZheng Fu2015-05-264-24/+2000
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Fix bugs in aggregator2.Zheng Fu2015-05-214-24/+2000
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0. Add unit test for aggregator2. 1. Only aggregate raw contacts in the default directory 2. Remove aggregation exception matches from the aggregation suggestion list 3. Fix the sqls to clear primary settings when merging 4. Make the scoring system consistent with current aggregator. 5. Don't aggregate raw contacts without name to any other raw contacts even when data matching exist. Bug: 19908937 Change-Id: Ie580def5ee9e3a291cd5bf112ccb29627f9b67cc
* | | | | Merge "Implement Data.CARRIER_PRESENCE" into mnc-devEtan Cohen2015-05-202-2/+43
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Implement Data.CARRIER_PRESENCEMakoto Onuki2015-05-132-2/+43
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add a script to dump the DB schema. This CL needs ag/683503. Bug 20257870 Change-Id: If336f7dfbab4aca9be8f168d1e8e5a555a9fe649
* | | | Fix CP2 Unit test failureKeith Cheung2015-05-181-1/+4
| |/ / |/| | | | | | | | | | | | | | | | | Cause: The corp provider is not wiped for each test. Bug: 19551175 Change-Id: I2b5428a74b584299ded745b15c3019e8d6091361
* | | Fix unit testsMakoto Onuki2015-05-156-11/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - PhotoPriorityResolverTest Now the mock sync adapter needs an intent filter - LegacyContactsProviderTest The authority check in ContentProvider got tightened, which broke our test because we didn't set up the multiple authorities correctly. Change-Id: Iab1eed24434bd159a99f0b794a7756554dc02281
* | | Merge "Clean up permissions" into mnc-devMakoto Onuki2015-05-158-23/+122
|\ \ \
| * | | Clean up permissionsMakoto Onuki2015-05-158-23/+122
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | - All permission checks now always pass if the caller is self. - Remove uses-permissions that're enforced by self. Bug 20927020 Change-Id: I985338495ed947d317f37e1a8d674a40c5e6bfe4
* | | Fix NPE in CallLogProviderWorkerYorke Lee2015-05-141-1/+1
|/ / | | | | | | | | Bug: 20979730 Change-Id: I8ccaa27613804891b958dd82ac2debeb0dad762b
* | Use transliterator for Simplified Chinese bucketsJay Shrauner2015-04-301-5/+9
| | | | | | | | | | | | | | | | Use Pinyin name transliterator instead of AlphabeticIndex for bucketing Simplified Chinese names. Bug:19835686 Change-Id: I350a4375e2b5ba05320143581c7b532678f69120
* | Fix locale unit testsJay Shrauner2015-04-301-9/+11
| | | | | | | | | | | | | | Fix test failures caused by ICU version update to 55.1 Bug:20669398 Change-Id: I4c18a2e33db2b701b49c9bb715cee814ef0bde04
* | Merge "Fix SIP enterprise lookup" into mnc-devMakoto Onuki2015-04-291-1/+2
|\ \
| * | Fix SIP enterprise lookupMakoto Onuki2015-04-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SIP lookup's _id is the data ID, not the contact ID unlike the non-SIP lookup. Properly use the contact ID for photo URLs. Bug 20522260 Bug 20518934 Change-Id: I52535968363c56af3b371197287743eb6e517731
* | | Merge "Add unit test for RawContactsEntity.CORP_CONTENT_URI" into mnc-devTony Mak2015-04-281-0/+52
|\ \ \ | |/ / |/| |
| * | Add unit test for RawContactsEntity.CORP_CONTENT_URITony Mak2015-04-271-0/+52
| | | | | | | | | | | | | | | Bug: 19551175 Change-Id: I6b91b77edcd999adb0a3184ea695949fe85f5315
* | | Grant VoicemailContentProvider permissions to default or system dialersYorke Lee2015-04-273-19/+30
|/ / | | | | | | | | Bug: 20333102 Change-Id: Icb54620cf9241b3999bcb3de1b73394c71becb2f
* | Fix some set concurrency issues in new aggregator.Zheng Fu2015-04-242-3/+6
| | | | | | | | | | Bug:19908937 Change-Id: Iade51905c1e5a1810b709d7b533984ceb6254939
* | Merge "Add unit test for query against Phone.ENTERPRISE_CONTENT_URI"Tony Mak2015-04-232-1/+78
|\ \
| * | Add unit test for query against Phone.ENTERPRISE_CONTENT_URITony Mak2015-04-212-1/+78
| | | | | | | | | | | | | | | | | | Bug: 19551175 Change-Id: I69bdb672e64474a8daf12c3c38ea5fe262684aab
* | | Re-create metadata_sync table.Zheng Fu2015-04-221-11/+49
| | | | | | | | | | | | | | | | | | | | | | | | Drop foreign key constraint on account_id column; Add deleted column; Bug:20457617 Change-Id: I13b3c12aa57fa39fcf4ec1d4dfc52a4e9ad869b7
* | | Import translations. DO NOT MERGEGeoff Mendal2015-04-223-0/+105
| | | | | | | | | | | | | | | Change-Id: I7d1aa221a864b2cce0b490c4c6a99be247b187f8 Auto-generated-cl: translation import
* | | Merge "Add OP_ADD_VOICEMAIL app op - contacts provider"Svet Ganov2015-04-191-0/+6
|\ \ \
| * | | Add OP_ADD_VOICEMAIL app op - contacts providerSvet Ganov2015-04-171-0/+6
| | | | | | | | | | | | | | | | Change-Id: I0dfce97bd1dc3df9118c3a3e7ec5f00c764abbb1
* | | | Merge "Update related tables from MetadataSync.data column."Tingting Wang2015-04-185-53/+463
|\ \ \ \ | |/ / / |/| | |
| * | | Update related tables from MetadataSync.data column.Tingting Wang2015-04-175-53/+463
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MetadataSync.data column info is parsed to MetadataEntry object. RawContact, Data, DataUsageStats, AggregationException tables need to be updated or inserted for the given rawContactId from MetadataEntry. BUG 20055193 Change-Id: I5bdfe2c44f9c9af8d4067dc136ceb62ab0b274af
* | | | Merge "Show which aggregator is used in bugreport."Zheng Fu2015-04-161-0/+3
|\ \ \ \
| * | | | Show which aggregator is used in bugreport.Zheng Fu2015-04-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Bug:20298625 Change-Id: I65b20cdbf6567eec2ccd7242359bf1d43b0bfe84
* | | | | Merge "use new setting flag to switch between current and new aggregator."Zheng Fu2015-04-1622-4850/+442
|\ \ \ \ \ | |/ / / /
| * | | | use new setting flag to switch between current and new aggregator.Zheng Fu2015-04-1522-4851/+443
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order for the switch, add AbstractContactAggregator for ContactAggregator and ContactAggregator2. Bug:20055573 Change-Id: I6f27d4df8017938b226f5c6371b15ba41fd18acd
* | | | | Fix the buildZheng Fu2015-04-151-1/+1
|/ / / / | | | | | | | | | | | | Change-Id: I1918cfdb39abccb8887c7779f2ff592bf779d306
* | | | Fork ContactAggregator to AbstractContactAggregator to keep file hsitory.Zheng Fu2015-04-151-0/+2805
| |/ / |/| | | | | | | | | | | Bug:20055573 Change-Id: I42c85df36f039b59707101660441243fb90baca2
* | | Merge "Parse metadata_sync.data to MetadataEntry Object."Tingting Wang2015-04-143-0/+570
|\ \ \ | |/ /
| * | Parse metadata_sync.data to MetadataEntry Object.Tingting Wang2015-04-143-0/+570
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | metadata_sync.data is a text column contains the DeviceContactMetadata Json string got from People API. Converting it to MetadataEntry object is needed before using. BUG 20055450 Change-Id: Ic82b07438fdf088563fcdcc99980b83df149734f