From bbb551cfb5df58512f6d0df889766887d440eb08 Mon Sep 17 00:00:00 2001 From: Tony Mak Date: Wed, 29 Mar 2017 15:53:07 +0100 Subject: [PATCH] Whitelist ManagedProvisioning from bg check Notice that app put in this list is also exempted from doze. Also, this only exempts us from the service restriction, but not the broadcast one. Test: adb shell am make-uid-idle --user 0 com.android.managedprovisioning && adb shell am broadcast -a android.intent.action.PRE_BOOT_COMPLETED -n com.android.managedprovisioning/com.android.managedprovisioning.ota.PreBootListener Observe there is no crash Change-Id: Ic0a943a9b66c909a6727f9411af519a8c6cf0157 Fix: 36705375 --- data/etc/platform.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/etc/platform.xml b/data/etc/platform.xml index 344f3c83ba6cc..5e3488c1ed422 100644 --- a/data/etc/platform.xml +++ b/data/etc/platform.xml @@ -181,6 +181,10 @@ + + + +