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

Commit 5449ee07 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android (Google) Code Review
Browse files

Merge "Avoid IPC call with an empty array" into mnc-dev

parents 233bd3ce 76495678
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