Loading packages/SystemUI/src/com/android/systemui/qs/QSPanel.java +1 −1 Original line number Diff line number Diff line Loading @@ -203,7 +203,7 @@ public class QSPanel extends ViewGroup { } } private void refreshAllTiles() { public void refreshAllTiles() { for (TileRecord r : mRecords) { r.tile.refreshState(); } Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +6 −0 Original line number Diff line number Diff line Loading @@ -3600,6 +3600,12 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, instantCollapseNotificationPanel(); } updateKeyguardState(staying, false /* fromShadeLocked */); // Keyguard state has changed, but QS is not listening anymore. Make sure to update the tile // visibilities so next time we open the panel we know the correct height already. if (mQSPanel != null) { mQSPanel.refreshAllTiles(); } return staying; } Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/QSTileHost.java +3 −1 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ import android.content.Intent; import android.content.res.Resources; import android.database.ContentObserver; import android.net.Uri; import android.os.Process; import android.os.Handler; import android.os.HandlerThread; import android.os.Looper; Loading Loading @@ -108,7 +109,8 @@ public class QSTileHost implements QSTile.Host { mKeyguard = keyguard; mSecurity = security; final HandlerThread ht = new HandlerThread(QSTileHost.class.getSimpleName()); final HandlerThread ht = new HandlerThread(QSTileHost.class.getSimpleName(), Process.THREAD_PRIORITY_BACKGROUND); ht.start(); mLooper = ht.getLooper(); Loading Loading
packages/SystemUI/src/com/android/systemui/qs/QSPanel.java +1 −1 Original line number Diff line number Diff line Loading @@ -203,7 +203,7 @@ public class QSPanel extends ViewGroup { } } private void refreshAllTiles() { public void refreshAllTiles() { for (TileRecord r : mRecords) { r.tile.refreshState(); } Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +6 −0 Original line number Diff line number Diff line Loading @@ -3600,6 +3600,12 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, instantCollapseNotificationPanel(); } updateKeyguardState(staying, false /* fromShadeLocked */); // Keyguard state has changed, but QS is not listening anymore. Make sure to update the tile // visibilities so next time we open the panel we know the correct height already. if (mQSPanel != null) { mQSPanel.refreshAllTiles(); } return staying; } Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/QSTileHost.java +3 −1 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ import android.content.Intent; import android.content.res.Resources; import android.database.ContentObserver; import android.net.Uri; import android.os.Process; import android.os.Handler; import android.os.HandlerThread; import android.os.Looper; Loading Loading @@ -108,7 +109,8 @@ public class QSTileHost implements QSTile.Host { mKeyguard = keyguard; mSecurity = security; final HandlerThread ht = new HandlerThread(QSTileHost.class.getSimpleName()); final HandlerThread ht = new HandlerThread(QSTileHost.class.getSimpleName(), Process.THREAD_PRIORITY_BACKGROUND); ht.start(); mLooper = ht.getLooper(); Loading