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

Commit b99ea197 authored by Roman Birg's avatar Roman Birg
Browse files

SystemUI: fix potential NPE with Queue



Ticket: CYNGNOS-2782

Change-Id: I96816f5234e3bd7c3608ebfe67133eefd5fdcccc
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
(cherry picked from commit caea16fc)
parent b460b11d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ public class QueueView extends LinearLayout implements
        public void onPlaybackStateChanged(@NonNull PlaybackState state) {
            super.onPlaybackStateChanged(state);

            if (updateQueue(mController.getQueue())) {
            if (getParent() != null && updateQueue(mController.getQueue())) {
                getParent().requestLayout();
            }
        }