Skip to content

Commit 75b694f

Browse files
Dianne HackbornAndroid (Google) Code Review
authored andcommitted
Merge "Fix issue #7274813: A few sticky broadcasts aren't being sent to all users" into jb-mr1-dev
2 parents 3e2358a + aa4b3c7 commit 75b694f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/java/com/android/server/DeviceStorageMonitorService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ private final void sendNotification() {
405405
notification.setLatestEventInfo(mContext, title, details, intent);
406406
mNotificationMgr.notifyAsUser(null, LOW_MEMORY_NOTIFICATION_ID, notification,
407407
UserHandle.ALL);
408-
mContext.sendStickyBroadcast(mStorageLowIntent);
408+
mContext.sendStickyBroadcastAsUser(mStorageLowIntent, UserHandle.ALL);
409409
}
410410

411411
/**
@@ -428,7 +428,7 @@ private final void cancelNotification() {
428428
*/
429429
private final void sendFullNotification() {
430430
if(localLOGV) Slog.i(TAG, "Sending memory full notification");
431-
mContext.sendStickyBroadcast(mStorageFullIntent);
431+
mContext.sendStickyBroadcastAsUser(mStorageFullIntent, UserHandle.ALL);
432432
}
433433

434434
/**

0 commit comments

Comments
 (0)