Merge "Fix issue #7274813: A few sticky broadcasts aren't being sent to all users" into jb-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
75b694f1d6
@@ -405,7 +405,7 @@ public class DeviceStorageMonitorService extends Binder {
|
||||
notification.setLatestEventInfo(mContext, title, details, intent);
|
||||
mNotificationMgr.notifyAsUser(null, LOW_MEMORY_NOTIFICATION_ID, notification,
|
||||
UserHandle.ALL);
|
||||
mContext.sendStickyBroadcast(mStorageLowIntent);
|
||||
mContext.sendStickyBroadcastAsUser(mStorageLowIntent, UserHandle.ALL);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -428,7 +428,7 @@ public class DeviceStorageMonitorService extends Binder {
|
||||
*/
|
||||
private final void sendFullNotification() {
|
||||
if(localLOGV) Slog.i(TAG, "Sending memory full notification");
|
||||
mContext.sendStickyBroadcast(mStorageFullIntent);
|
||||
mContext.sendStickyBroadcastAsUser(mStorageFullIntent, UserHandle.ALL);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user