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

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

Protect against crash on user switch am: 6e6af2c7

am: b7218524

Change-Id: I53e6997e903c109e2584e8be5674d17515c86e0c
parents 1e707316 b7218524
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -160,6 +160,10 @@ public class QSAnimator implements Callback, PageListener, Listener, OnLayoutCha

        for (QSTile<?> tile : tiles) {
            QSTileBaseView tileView = mQsPanel.getTileView(tile);
            if (tileView == null) {
                Log.e(TAG, "tileView is null " + tile.getTileSpec());
                continue;
            }
            final TextView label = ((QSTileView) tileView).getLabel();
            final View tileIcon = tileView.getIcon().getIconView();
            if (count < mNumQuickTiles && mAllowFancy) {