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

Commit ffef959c authored by Jason Monk's avatar Jason Monk Committed by Gerrit Code Review
Browse files

Merge "Fix NPE in BaseStatusbar in onListenerConnected"

parents 5af6dd54 185e9c25
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -442,6 +442,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