aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-01Fix VoicemailContentProvider not notifying status changespie-dr1-devpie-devTa-wei Yen
In ag/3423779 the VoicemailContentProvider is changed to only notify changes that touches columns in the voicemail content table, and voicemail status changes are no longer notified. Change-Id: Iff71b4de7dc050a6928a73feafccee9699b61dec Fixes: 80102094 Test: tradefed ContactsProviderTests
2018-05-24Import translations. DO NOT MERGEBill Yi
Auto-generated-cl: translation import Bug: 64712476 Change-Id: I1bba3d5dc622a6823c826488845dc6571875138d
2018-05-20Import translations. DO NOT MERGEBill Yi
Auto-generated-cl: translation import Bug: 64712476 Change-Id: I44815d70e47c31f302e60796b3aca24f1a10dc8d
2018-04-27Import translations. DO NOT MERGEBill Yi
Auto-generated-cl: translation import Bug: 64712476 Change-Id: I6fad0a4cde663428ed74cbf6421cdc05e0809ff8
2018-04-13Import translations. DO NOT MERGEBill Yi
Auto-generated-cl: translation import Bug: 64712476 Change-Id: Id17a2be0f6ad40bb92fbdda356e71fee47d35482
2018-04-09Merge "Exempt tests from hidden API checks." into pi-devTreeHugger Robot
2018-04-06Import translations. DO NOT MERGEBill Yi
Auto-generated-cl: translation import Bug: 64712476 Change-Id: I5d0ebfa933066c3ed10f800ff15747f7aef7e132
2018-04-06Exempt tests from hidden API checks.Nicolas Geoffray
Bug: 64382372 Bug: 74963051 Test: m Change-Id: Icac45a517a911e58e656c9d73544cbe9f7786040
2018-04-02Avoid stringbuilder explosionMakoto Onuki
Change-Id: Ifd60098d5a5738063a5b5831a857802327f42774 Fixes: 76175892 Test: ContactsProviderTests
2018-03-26Client access stats for calllogMakoto Onuki
This prints # of requests made by clients, per calling UID, with total time spent for their requests. Sample output: PROVIDER ContentProviderRecord{a16090d u0 com.android.providers.contacts/.CallLogProvider} pid=2417 Client: Process uptime: 4 minutes Client activities: UID Query Insert Update Delete Batch Insert Update Delete Sec 1000 1 4 0 0 0 0 0 0 0.161 10022 1 0 0 0 0 0 0 0 0.068 10062 336 2 0 0 0 0 0 0 5.361 Change-Id: I4b6f7e58dd8dc971408220edaae11ce6f24c43f5 Fix: 76037330 Bug: 76037330 Test: build & boot, dumpsys activity provider com.android.providers.contacts/.CallLogProvider
2018-03-22Move provider access stats to frameworks/baseMakoto Onuki
Bug: 76037330 Test: boot and dumpsys activity provider ContactsProvider2 Change-Id: I2d10d69da9ddb5536ff3ef0aef2cfc3a711a20bd
2018-03-09Allow carrier-privileged apps to access voicemail provider.Jeff Davidson
Bug: 70041899 Test: TreeHugger + tests in CL topic Change-Id: Icd80caa6f755f549f2433ac4dcacb4a77c962077 Merged-In: Icd80caa6f755f549f2433ac4dcacb4a77c962077 (cherry picked from commit 9c57007fb2e6bbb3d0303320ce6938751240c1c7)
2018-02-26Merge "packages/providers/ContactsProvider: Set LOCAL_SDK_VERSION where ↵Anton Hansson
possible." am: fb691a33d1 am: 7e03fe9bb2 am: 3116143a39 Change-Id: I3b6d795b2b324befaef5965dff263ddbde9d6a37
2018-02-26Merge "packages/providers/ContactsProvider: Set LOCAL_SDK_VERSION where ↵Anton Hansson
possible." am: fb691a33d1 am: 7e03fe9bb2 Change-Id: Ic26ee4b80ed42af8e084b1012a4bdb59d49485a7
2018-02-26Merge "packages/providers/ContactsProvider: Set LOCAL_SDK_VERSION where ↵Anton Hansson
possible." am: fb691a33d1 Change-Id: I3b2ac0e350622a644fb4a3a625340d14b2e3239c
2018-02-26Merge "packages/providers/ContactsProvider: Set LOCAL_SDK_VERSION where ↵android-wear-p-preview-2android-p-preview-5android-p-preview-4android-p-preview-3android-p-preview-2android-p-preview-1android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8android-o-mr1-iot-preview-7android-n-iot-release-smart-display-r2android-n-iot-release-smart-displayandroid-n-iot-release-polk-at1android-n-iot-release-lg-thinq-wk7o-mr1-iot-preview-8o-mr1-iot-preview-7Anton Hansson
possible."
2018-02-22packages/providers/ContactsProvider: Set LOCAL_SDK_VERSION where possible.Anton Hansson
This change sets LOCAL_SDK_VERSION for all packages where this is possible without breaking the build, and LOCAL_PRIVATE_PLATFORM_APIS := true otherwise. Setting one of these two will be made required soon, and this is a change in preparation for that. Not setting LOCAL_SDK_VERSION makes the app implicitly depend on the bootclasspath, which is often not required. This change effectively makes depending on private apis opt-in rather than opt-out. Test: make relevant packages Bug: 73535841 Change-Id: I87fb73d60bba6737a765505800e7a7549b26da66
2018-01-10Merge "Allow Voicemails to be inserted as not new."TreeHugger Robot
2018-01-10Allow Voicemails to be inserted as not new.Ta-wei Yen
Inserting voicemails as new will cause dialer to send notifications to the user. For initial syncs this is undesirable. Previously the NEW column is only available to call log. Change-Id: Ib01720dcec841d2f17016eac4efab6e13e9b0d6c Fixes: 69482089 Test: CTS
2018-01-09Merge "Add reserved disk GID to critical component."Jeff Sharkey
2018-01-08Merge "Don't update DIRTY flag when updating non-voicemail columns"TreeHugger Robot
2018-01-07Add reserved disk GID to critical component.Jeff Sharkey
We recently created a new GID that can be granted to critical system processes, so that the system is usable enough for the user to free up disk space used by abusive apps. Test: builds, boots Bug: 62024591 Change-Id: I32fadfb42eb5fd08b13b9da0ee025ca54bfcf2e5
2018-01-05Don't update DIRTY flag when updating non-voicemail columnsTa-wei Yen
Caching contact data should not cause an upload. Fixes: 71605105 Test: VoicemailProviderTest Change-Id: I9301c00ccb14580c5c20268a3e4bbe1f0bbb52f5
2017-12-21Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: c169459bbd -s ↵Bill Yi
ours am: 2e1f39300b -s ours Change-Id: Ib5fad4c1470233853e59b535d6761a0538d57cbb
2017-12-21Import translations. DO NOT MERGE am: 7fff7b1de1 -s ours am: bb254a83a9 -s ↵Bill Yi
ours am: 2557ffb648 -s ours Change-Id: Id122ea5461c3f7498b38ecd05553b4922cdfd836
2017-12-21Merge "Import translations. DO NOT MERGE" into oc-mr1-devBill Yi
am: c169459bbd -s ours Change-Id: Idb8339153fe080299dd85c757854d00959fdbdf8
2017-12-21Import translations. DO NOT MERGE am: 7fff7b1de1 -s oursBill Yi
am: bb254a83a9 -s ours Change-Id: I1ca9b7eee8a4f868797fcab46058215aeb75a8b1
2017-12-20Merge "Import translations. DO NOT MERGE" into oc-mr1-devTreeHugger Robot
2017-12-20Import translations. DO NOT MERGEBill Yi
am: 7fff7b1de1 -s ours Change-Id: I0e23400c42721c694577478f3bea2a65ba22b060
2017-12-19Import translations. DO NOT MERGEBill Yi
Auto-generated-cl: translation import Bug: 64712476 Change-Id: I8d47ccd4c44916c796e3457e9cca2c9d751f8a99
2017-12-19Import translations. DO NOT MERGEBill Yi
Auto-generated-cl: translation import Bug: 64712476 Change-Id: If392616769f5bf6795dd1b6876a88c5429712f54
2017-12-08Merge "Stop statically including legacy-android-test"Paul Duffin
2017-12-08Merge "DO NOT MERGE: Merge Oreo MR1 into master" am: b16ce3146b -s ours am: ↵Xin Li
3eb86245f3 am: 39616d1087 -s ours Change-Id: I828374f46da93bebcf330aebf74c49f6c0a16348
2017-12-08Stop statically including legacy-android-testPaul Duffin
Statically including legacy-android-test leads to duplicate classes which causes build time problems (with Proguard) and runtime problems on older SDK versions. This change: * Stops statically including legacy-android-test. * Adds compile time dependencies on andoid.test.base, android.test.mock and android.test.runner where necessary. * Adds <uses-library android:name="android.test.runner"/> to any affected package to ensure that the classes that were included by legacy-android-test are still available at runtime. That also adds a dependency on android.test.base and android.test.mock. The following change descriptions were generated automatically and so may be a little repetitive. They are provided to give the reviewer enough information to check the comments match what has actually been changed and check the reasoning behind the changes. * tests/Android.mk Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES because statically including the classes in ContactsProviderTests results in duplicate classes which leads to build time and compile time issues. Added 'android.test.base' and 'android.test.mock' to LOCAL_JAVA_LIBRARIES because ContactsProviderTests's source depends on their classes and because of these changes they are no longer present on the compilation path. * tests2/Android.mk Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES because statically including the classes in ContactsProviderTests2 results in duplicate classes which leads to build time and compile time issues. Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because ContactsProviderTests2's source depends on its classes and because of these changes they are no longer present on the compilation path. Bug: 30188076 Test: make checkbuild Change-Id: Ib9e624d4e31d65e92f5c040916230e6df0a0e8cb
2017-12-07Manually merge changes from giant AOSP topicStephen Li
Change-Id: I0e2f5d114e40409e862f6f4c36be4eab52ad12bb
2017-12-07Merge "DO NOT MERGE: Merge Oreo MR1 into master" am: b16ce3146b -s oursXin Li
am: 3eb86245f3 Change-Id: I4d8f0ee2381f5833d7c000a3309d0bda56df71bd
2017-12-07Merge "DO NOT MERGE: Merge Oreo MR1 into master"Xin Li
am: b16ce3146b -s ours Change-Id: Ibae9f17cb6415ec07b08d35b45d6b414b3a1ba83
2017-12-07DO NOT MERGE: Merge Oreo MR1 into master am: 3877c1d220 -s oursXin Li
am: 79b5a4e950 Change-Id: Ib3dce248f7327148d7a483eb83bfd4ec9c44b947
2017-12-07DO NOT MERGE: Merge Oreo MR1 into masterXin Li
am: 3877c1d220 -s ours Change-Id: I0e509a7fdea63cfdf416f69ac809944e5c070efb
2017-12-06Merge "DO NOT MERGE: Merge Oreo MR1 into master"android-wear-8.0.0_r1Xin Li
2017-12-06DO NOT MERGE: Merge Oreo MR1 into masterXin Li
Exempt-From-Owner-Approval: Changes already landed internally Change-Id: I4584fcf20f226a9e5014ae1175f05ac6b22ea39c
2017-12-05Merge "Implement preferred phone account columns"TreeHugger Robot
2017-12-05Merge "Implement DIRTY_RETAIN constant"TreeHugger Robot
2017-12-04Implement preferred phone account columnsTa-wei Yen
Fixes: 69868483 Test: CtsProviderTestCases Change-Id: Ib8af85b5c618c1a2c62bc6c09daae057521de5d6
2017-11-30Implement DIRTY_RETAIN constantTa-wei Yen
Previously the DIRTY flag can only be automatically or explicitly set. There are no option to express "This operation does not change the DIRTY flag". This causes issue when the voicemail source is downloading changes from the server instead of uploading and would clobber the flag. After this CL, if DIRTY is updated with DIRTY_RETAIN, the flag will not be updated for the operation. Change-Id: I23a23a11f7d2177d10b65bbc33875b7eb838f7c1 Fixes: 64371667 Test: CtsProviderTestCases#VoicemailContractTest
2017-11-30Import translations. DO NOT MERGE am: c1bca0543a -s oursBill Yi
am: d11f95ad46 -s ours Change-Id: I5694269c6761dfb06400d5164e587cf5677b3d2c
2017-11-30Import translations. DO NOT MERGEBill Yi
am: c1bca0543a -s ours Change-Id: I85acfd9049351e61ecf52c39bdd1b72aa9722e85
2017-11-29Import translations. DO NOT MERGEBill Yi
Auto-generated-cl: translation import Bug: 69925163 Change-Id: I4307b3984793ac431890491beeb87c2b60cae6ce
2017-11-20Merge "Import translations. DO NOT MERGE"TreeHugger Robot
2017-11-20Import translations. DO NOT MERGEBill Yi
Change-Id: I84c6739eac0a0c67abff55268ef296d1bab3c7a2 Auto-generated-cl: translation import