Do not always install system apps in the managed profile after a system update.
ManagedProvisionning keeps track of apps in the system image, deleted for the managed profile or not.
If a new one is added, ManagedProvisioning may delete it when it receives PRE_BOOT_COMPLETED.
If this new app has a component listening to INSTALL_SHORTCUT, it will be disabled.
BUG:17150677
Change-Id: I78b96c7cffeef88257b178eb2ede9a275499048d
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 57d82e7..b014040 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -116,11 +116,10 @@
<receiver android:name="com.android.managedprovisioning.BootReminder">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
- <action android:name="android.intent.action.PRE_BOOT_COMPLETED" />
</intent-filter>
</receiver>
- <receiver android:name="com.android.managedprovisioning.CrossProfileIntentFiltersHelper$FiltersReseter">
+ <receiver android:name="com.android.managedprovisioning.PreBootListener">
<intent-filter>
<action android:name="android.intent.action.PRE_BOOT_COMPLETED" />
</intent-filter>