Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75b694f1 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android (Google) Code Review
Browse files

Merge "Fix issue #7274813: A few sticky broadcasts aren't being sent to all users" into jb-mr1-dev

parents 3e2358a0 aa4b3c79
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
    }

    /**