diff options
author | Dianne Hackborn <hackbod@google.com> | 2014-05-02 16:28:33 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2014-05-02 16:29:10 -0700 |
commit | d83a096f299abd9c7fe5e441ef1bb169c314b575 (patch) | |
tree | 2c3e1c45bc81fb6660fd306d71e72a1cc5775772 /services/devicepolicy | |
parent | 5d84bce12204072bc7ab296ce0cdea7efb5cf17c (diff) | |
download | frameworks_base-d83a096f299abd9c7fe5e441ef1bb169c314b575.zip frameworks_base-d83a096f299abd9c7fe5e441ef1bb169c314b575.tar.gz frameworks_base-d83a096f299abd9c7fe5e441ef1bb169c314b575.tar.bz2 |
Bump up priority of system receiving BOOT_COMPLETED.
Change-Id: I5166f88f11f781914312e867cb653c8ecbefa705
Diffstat (limited to 'services/devicepolicy')
-rw-r--r-- | services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java index aaa97eb..d0a6db1 100644 --- a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java +++ b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java @@ -588,6 +588,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub { filter.addAction(Intent.ACTION_USER_REMOVED); filter.addAction(Intent.ACTION_USER_STARTED); filter.addAction(KeyChain.ACTION_STORAGE_CHANGED); + filter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); context.registerReceiverAsUser(mReceiver, UserHandle.ALL, filter, null, mHandler); filter = new IntentFilter(); filter.addAction(Intent.ACTION_PACKAGE_CHANGED); |