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

Commit 58462c36 authored by Agatha Man's avatar Agatha Man Committed by Automerger Merge Worker
Browse files

Merge "Ignore public volume state change event when user is null" into sc-dev am: d56cd5e5

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14164951

Change-Id: Id97d7594c9c873ade14330bac70d9d18d3556813
parents e422ae5f d56cd5e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -299,7 +299,7 @@ public class StorageNotification extends SystemUI {
        // but cause crash when call notifyAsUser(). Here we return directly for USER_NULL, and
        // leave all notifications belong to removed user to NotificationManagerService, the latter
        // will remove all notifications of the removed user when handles user stopped broadcast.
        if (isAutomotive() && vol.getMountUserId() == UserHandle.USER_NULL) {
        if (vol.getMountUserId() == UserHandle.USER_NULL) {
            Log.d(TAG, "Ignore public volume state change event of removed user");
            return;
        }