Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/QSTileHost.java +9 −5 Original line number Diff line number Diff line Loading @@ -335,12 +335,16 @@ public class QSTileHost implements QSTile.Host, Tunable { QSTile<?> tile = mTiles.get(tileSpec); if (tile != null && (!(tile instanceof CustomTile) || ((CustomTile) tile).getUser() == currentUser)) { if (tile.isAvailable()) { if (DEBUG) Log.d(TAG, "Adding " + tile); tile.removeCallbacks(); if (!(tile instanceof CustomTile) && mCurrentUser != currentUser) { tile.userSwitch(currentUser); } newTiles.put(tileSpec, tile); } else { tile.destroy(); } } else { if (DEBUG) Log.d(TAG, "Creating tile: " + tileSpec); try { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/QSTileHost.java +9 −5 Original line number Diff line number Diff line Loading @@ -335,12 +335,16 @@ public class QSTileHost implements QSTile.Host, Tunable { QSTile<?> tile = mTiles.get(tileSpec); if (tile != null && (!(tile instanceof CustomTile) || ((CustomTile) tile).getUser() == currentUser)) { if (tile.isAvailable()) { if (DEBUG) Log.d(TAG, "Adding " + tile); tile.removeCallbacks(); if (!(tile instanceof CustomTile) && mCurrentUser != currentUser) { tile.userSwitch(currentUser); } newTiles.put(tileSpec, tile); } else { tile.destroy(); } } else { if (DEBUG) Log.d(TAG, "Creating tile: " + tileSpec); try { Loading