Fix issue #7274813: A few sticky broadcasts aren't being sent to all users
Change-Id: I2fc89de36be0709946f562f64002d0f6d223401f
This commit is contained in:
@ -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