diff options
author | Makoto Onuki <omakoto@google.com> | 2017-03-06 13:43:50 -0800 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2017-03-06 14:00:08 -0800 |
commit | 442d7200fb77e2a6d0d3c8d1b17b3b8090581b02 (patch) | |
tree | c6452ad7b559918811aeb9bf0b6ef0ce3d0bda8d /AndroidManifest.xml | |
parent | fcc2655b0fca7032fcde306660da303c85125218 (diff) | |
download | ContactsProvider-442d7200fb77e2a6d0d3c8d1b17b3b8090581b02.tar.gz |
Don't use manifest receiver
- Only use a runtime receiver to handle package broadcasts.
We still do mostly the same tasks in the receiver.
- Also remove the BG service used by the voicemail provider.
- When the voicemail provider starts, remove records made by
packages that have been uninstalled.
- The package receiver was used to update GAL providers too.
The previous CL already takes care of scanning GAL providers on
startup.
Test: adb shell am instrument -w com.android.providers.contacts.tests
Bug 35388445
Bug 35385207
Change-Id: I743a769bd51e2acdbd13df1440cce04b35331fda
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r-- | AndroidManifest.xml | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 6489d480..d89e7f6f 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -3,8 +3,6 @@ android:sharedUserId="android.uid.shared" android:sharedUserLabel="@string/sharedUserLabel"> - <uses-sdk android:targetSdkVersion="25" android:minSdkVersion="25"/> <!-- TODO Remove it --> - <uses-permission android:name="android.permission.BIND_DIRECTORY_SEARCH" /> <uses-permission android:name="android.permission.GET_ACCOUNTS" /> <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED" /> @@ -97,33 +95,12 @@ </intent-filter> </receiver> - <receiver android:name="PackageIntentReceiver"> - <intent-filter> - <action android:name="android.intent.action.PACKAGE_ADDED" /> - <data android:scheme="package" /> - </intent-filter> - <intent-filter> - <action android:name="android.intent.action.PACKAGE_REPLACED" /> - <data android:scheme="package" /> - </intent-filter> - <intent-filter> - <action android:name="android.intent.action.PACKAGE_REMOVED" /> - <data android:scheme="package" /> - </intent-filter> - <intent-filter> - <action android:name="android.intent.action.PACKAGE_CHANGED" /> - <data android:scheme="package" /> - </intent-filter> - </receiver> - <receiver android:name="LocaleChangeReceiver"> <intent-filter> <action android:name="android.intent.action.LOCALE_CHANGED"/> </intent-filter> </receiver> - <service android:name="VoicemailCleanupService"/> - <activity android:name=".debug.ContactsDumpActivity" android:label="@string/debug_dump_title" android:theme="@android:style/Theme.Holo.Dialog" |