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

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

SystemUI: fix play queue crash



Ticket: CYNGNOS-217
Change-Id: I1d1d1faf353e62187ef3025213e610faa5575dce
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent e73c4b9d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -213,7 +213,7 @@ public class QueueView extends LinearLayout implements

            // add everything
            if (!foundNowPlaying) {
                for(int i = 0; i < getMaxQueueRowCount(); i++) {
                for(int i = 0; i < getMaxQueueRowCount() && i < queue.size(); i++) {
                    mQueue.add(queue.get(i));
                }
            }