Sometimes when switching users not all the views are there yet, but
we will get another layout callback once they are, and can update
our animators then.
Change-Id: I029839e5c69c8c441cf89b0536a90e223dc35180
Fixes:
35949496
Test: Switch users
View view = mQs.getView();
if (count < mNumQuickTiles && mAllowFancy) {
// Quick tiles.
- com.android.systemui.plugins.qs.QSTileView quickTileView = mQuickQsPanel.getTileView(tile);
+ QSTileView quickTileView = mQuickQsPanel.getTileView(tile);
+ if (quickTileView == null) continue;
lastX = loc1[0];
getRelativePosition(loc1, quickTileView.getIcon().getIconView(), view);