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

Commit fbeeeb1c authored by Jason Monk's avatar Jason Monk Committed by android-build-merger
Browse files

Merge "Fix NPE in BaseStatusbar in onListenerConnected" am: ffef959c

am: c3eb211b

* commit 'c3eb211b':
  Fix NPE in BaseStatusbar in onListenerConnected
parents 6bd76ca0 c3eb211b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -521,6 +521,10 @@ public abstract class BaseStatusBar extends SystemUI implements
        public void onListenerConnected() {
            if (DEBUG) Log.d(TAG, "onListenerConnected");
            final StatusBarNotification[] notifications = getActiveNotifications();
            if (notifications == null) {
                Log.w(TAG, "onListenerConnected unable to get active notifications.");
                return;
            }
            final RankingMap currentRanking = getCurrentRanking();
            mHandler.post(new Runnable() {
                @Override