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

Commit 8117c2f8 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android Git Automerger
Browse files

am 5449ee07: Merge "Avoid IPC call with an empty array" into mnc-dev

* commit '5449ee07':
  Avoid IPC call with an empty array
parents 0a66123f 5449ee07
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -3033,12 +3033,15 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
        }

        final int N = newlyVisible.size();
        if (N > 0) {
            String[] newlyVisibleKeyAr = new String[N];
            for (int i = 0; i < N; i++) {
                newlyVisibleKeyAr[i] = newlyVisibleAr[i].key;
            }

            setNotificationsShown(newlyVisibleKeyAr);
        }
    }

    // State logging