summaryrefslogtreecommitdiffstats
path: root/services/java
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2012-03-01 12:39:25 -0800
committerChristopher Tate <ctate@google.com>2012-03-01 13:00:30 -0800
commit5bb59daf42fb24c1131effd4265c2386304feceb (patch)
tree6db4046e65bf7e4060834de9b5246993cf976ad6 /services/java
parentfaf88b85e27ccdba225ec8a501803224a76b9c93 (diff)
downloadframeworks_base-5bb59daf42fb24c1131effd4265c2386304feceb.zip
frameworks_base-5bb59daf42fb24c1131effd4265c2386304feceb.tar.gz
frameworks_base-5bb59daf42fb24c1131effd4265c2386304feceb.tar.bz2
Merge: Send UpdateLock broadcasts to manifest receivers
So that e.g. the system update service doesn't need to run all the time. Bug 5543442 Change-Id: I4cd38240e67851daa5542a2962953e5dbed15b86
Diffstat (limited to 'services/java')
-rw-r--r--services/java/com/android/server/UpdateLockService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/UpdateLockService.java b/services/java/com/android/server/UpdateLockService.java
index 5df1928..1ffd196 100644
--- a/services/java/com/android/server/UpdateLockService.java
+++ b/services/java/com/android/server/UpdateLockService.java
@@ -77,7 +77,7 @@ public class UpdateLockService extends IUpdateLock.Stub {
Intent intent = new Intent(UpdateLock.UPDATE_LOCK_CHANGED)
.putExtra(UpdateLock.NOW_IS_CONVENIENT, state)
.putExtra(UpdateLock.TIMESTAMP, System.currentTimeMillis())
- .addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);
+ .addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
mContext.sendStickyBroadcast(intent);
} finally {
Binder.restoreCallingIdentity(oldIdent);