summaryrefslogtreecommitdiffstats
path: root/AndroidManifest_cm.xml
diff options
context:
space:
mode:
authorRohit Yengisetty <rohit@cyngn.com>2016-05-24 11:15:14 -0700
committerRohit Yengisetty <rohit@cyngn.com>2016-05-25 18:34:48 -0700
commit5b9db20b71bab5a9ca71e07ace633a8a8d5c9e56 (patch)
tree6fcc3d8c30b3733ac0bd9962c6b2220fcb801d2b /AndroidManifest_cm.xml
parent560f3a8913457dbdda7fb9b90be9b2bda56b31e3 (diff)
downloadandroid_packages_apps_Dialer-5b9db20b71bab5a9ca71e07ace633a8a8d5c9e56.tar.gz
android_packages_apps_Dialer-5b9db20b71bab5a9ca71e07ace633a8a8d5c9e56.tar.bz2
android_packages_apps_Dialer-5b9db20b71bab5a9ca71e07ace633a8a8d5c9e56.zip
Add migrations for CallerInfo related settings
The settings related to CallerInfo Provider need to be migrated to a newer schema due to the changes within AmbientSDK and CallerInfoApi. The migration will take place on a system-update, alongside the installation of the newer AmbientSDK and AmbientCore. Issue-Id: CYNGNOS-2537 Change-Id: Iffa15d73b7616b27a9f80e5d2266ccdf56749f61
Diffstat (limited to 'AndroidManifest_cm.xml')
-rw-r--r--AndroidManifest_cm.xml22
1 files changed, 20 insertions, 2 deletions
diff --git a/AndroidManifest_cm.xml b/AndroidManifest_cm.xml
index e2b616f70..a7790e2c8 100644
--- a/AndroidManifest_cm.xml
+++ b/AndroidManifest_cm.xml
@@ -30,11 +30,10 @@
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
<uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
<uses-permission android:name="android.permission.READ_PRECISE_PHONE_STATE" />
-
<uses-permission android:name="com.cyanogen.ambient.permission.BIND_CALLER_INFO" />
-
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
<uses-permission android:name="android.permission.MANAGE_USERS" />
+ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<application>
@@ -56,6 +55,25 @@
</intent-filter>
</receiver>
+ <receiver
+ android:name="com.android.dialer.SystemUpdateReceiver">
+ <intent-filter>
+ <action android:name="android.intent.action.PRE_BOOT_COMPLETED" />
+ </intent-filter>
+ </receiver>
+
+ <receiver
+ android:name="com.android.dialer.CallerInfoSettingsMigrationReceiver"
+ android:enabled="false">
+ <intent-filter>
+ <action android:name="android.intent.action.BOOT_COMPLETED"/>
+ </intent-filter>
+ </receiver>
+
+ <service
+ android:name="com.android.dialer.CallerInfoSettingsMigrationReceiver$CallerInfoSettingsMigrationService"
+ android:exported="false" />
+
<service android:name=".discovery.DiscoveryService" />
<activity