Merge "Better public volumes handling on secondary users." into pi-dev

This commit is contained in:
Jeff Sharkey
2018-03-29 15:15:54 +00:00
committed by Android (Google) Code Review

View File

@@ -323,10 +323,10 @@ public class StorageNotification extends SystemUI {
if (notif != null) {
mNotificationManager.notifyAsUser(vol.getId(), SystemMessage.NOTE_STORAGE_PUBLIC,
notif, UserHandle.ALL);
notif, UserHandle.of(vol.getMountUserId()));
} else {
mNotificationManager.cancelAsUser(vol.getId(), SystemMessage.NOTE_STORAGE_PUBLIC,
UserHandle.ALL);
UserHandle.of(vol.getMountUserId()));
}
}