diff options
author | Dianne Hackborn <hackbod@google.com> | 2012-10-02 16:23:39 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2012-10-02 16:23:39 -0700 |
commit | aa4b3c79f28560930e256ec5e2c5a7a4c20f5542 (patch) | |
tree | 921682c888554301f9b07235524249436fd547cf | |
parent | 11d8481f10a12caef0cfd9be7fe86e61d953d58f (diff) | |
download | frameworks_base-aa4b3c79f28560930e256ec5e2c5a7a4c20f5542.zip frameworks_base-aa4b3c79f28560930e256ec5e2c5a7a4c20f5542.tar.gz frameworks_base-aa4b3c79f28560930e256ec5e2c5a7a4c20f5542.tar.bz2 |
Fix issue #7274813: A few sticky broadcasts aren't being sent to all users
Change-Id: I2fc89de36be0709946f562f64002d0f6d223401f
-rw-r--r-- | services/java/com/android/server/DeviceStorageMonitorService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/java/com/android/server/DeviceStorageMonitorService.java b/services/java/com/android/server/DeviceStorageMonitorService.java index a4c376d..94a087a 100644 --- a/services/java/com/android/server/DeviceStorageMonitorService.java +++ b/services/java/com/android/server/DeviceStorageMonitorService.java @@ -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); } /** |