Skip to content

Commit 5bb59da

Browse files
author
Christopher Tate
committed
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
1 parent faf88b8 commit 5bb59da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/java/com/android/server/UpdateLockService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ void sendLockChangedBroadcast(boolean state) {
7777
Intent intent = new Intent(UpdateLock.UPDATE_LOCK_CHANGED)
7878
.putExtra(UpdateLock.NOW_IS_CONVENIENT, state)
7979
.putExtra(UpdateLock.TIMESTAMP, System.currentTimeMillis())
80-
.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);
80+
.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
8181
mContext.sendStickyBroadcast(intent);
8282
} finally {
8383
Binder.restoreCallingIdentity(oldIdent);

0 commit comments

Comments
 (0)