aboutsummaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorJeff Hamilton <jham@android.com>2010-05-25 22:13:01 -0500
committerJeff Hamilton <jham@android.com>2010-05-26 18:02:13 -0500
commit7109133e650b0b1a69690bda620e64893c027d95 (patch)
tree35651ddcd7bc91ea03bd326bb96840d8ba2aee22 /AndroidManifest.xml
parent758a7562d72b0a6ed336beac508eedf7b369fa20 (diff)
downloadContactsProvider-7109133e650b0b1a69690bda620e64893c027d95.tar.gz
Add a PRE_BOOT_COMPLETED receiver.
It runs the first time after an OTA and either creates the database or runs the upgrade path on it. This may take a significatn amount of time so it's done before the boot animation completes. Bug: 2713849 Change-Id: I07f2c22a1462e6923cb7b060d561e7fb41a6e82d
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index f940130d..7ccfccef 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -48,5 +48,15 @@
android:multiprocess="false"
android:readPermission="android.permission.READ_CONTACTS"
android:writePermission="android.permission.WRITE_CONTACTS" />
+
+ <!-- Handles database upgrades after OTAs, then disables itself -->
+ <receiver android:name="ContactsUpgradeReceiver">
+ <!-- This broadcast is sent after the core system has finished
+ booting, before the home app is launched or BOOT_COMPLETED
+ is sent. -->
+ <intent-filter>
+ <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/>
+ </intent-filter>
+ </receiver>
</application>
</manifest>