From aa4b3c79f28560930e256ec5e2c5a7a4c20f5542 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Tue, 2 Oct 2012 16:23:39 -0700 Subject: [PATCH] Fix issue #7274813: A few sticky broadcasts aren't being sent to all users Change-Id: I2fc89de36be0709946f562f64002d0f6d223401f --- .../java/com/android/server/DeviceStorageMonitorService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/java/com/android/server/DeviceStorageMonitorService.java b/services/java/com/android/server/DeviceStorageMonitorService.java index a4c376d29ed9a..94a087a0c7564 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); } /**