ac6f0b8a92fccb3611a7841d0f04e4ac24a58c91 |
|
20-Oct-2011 |
Makoto Onuki <omakoto@google.com> |
Don't use getInstalledPackages(). It's almost same as my previous CL 143783, except this time it uses pm.queryContentProviders() to enumerate only packages that have a content provider. It still uses getPackageInfo(), but only on packages with a directory provider and there aren't many directory providers around (there are only two known ones: Exchange and the googlesync), so it should be okay. (We could get rid of the getPackageInfo() call but that'd be too big a change for MR1.) Bug 5422702 Change-Id: I67f51f6a770bf1de6779b366017431c36b63815c
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsMockPackageManager.java
|
0bf6b318e3c994294d4a885f57906debd4a0e64e |
|
15-Aug-2011 |
Daniel Lehmann <lehmannd@google.com> |
Several DB changes as requested by ES - Switch from resource ids to names to prevent breakage on package upgrade Bug:5135277 - Add SYNC1...SYNC4 columns to StreamItems and StreamItemPhotos Bug:5119385 - Remove ACTION, ACTION_URI from Groups, StreamItems and StreamItemPhotos (this reduces db size and prevents click intercepting) Bug:5135808 - Add some raw-contact fields to the StreamItem and StreamItemPhotos query Bug:5134081 Doing those changes in one block to prevent too many db upgrade steps Bug:5135277 Change-Id: I1d1661c9a507d9efd4ef334fe21481097e820b7c
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsMockPackageManager.java
|
e0e24418cba10a5184e2966aaa32d5458fa6a387 |
|
22-Oct-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Backing up cached resource IDs with resource names During an OTA or an adb sync some resource IDs may change without an android.intent.action.PACKAGE_* broadcast. We will now verify resource IDs against their names and if anything does not match, rescan all packages. Bug: 3117701 Change-Id: I293c5578b7092482e8dd4637554831f3e6f93cc1
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsMockPackageManager.java
|
72e3003a810fb4793a1513d17a40f8ab83d7d0af |
|
05-Aug-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Introducing ContactDirectoryManager Changing the contact directory registration protocol. Now directory providers are mostly passive, ContactsProvider2 is in control. Change-Id: I93815f7dc0a30fde35d70c5fd48bb1a924076ff5
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsMockPackageManager.java
|