Skip to content

Commit 3e98b9a

Browse files
author
John Spurlock
committed
Revert part of fix for b/7377776 to fix b/7411356.
This means the visual glitch is possible again, but reduced since the layout transitions are disabled. It's more important to bring back nav buttons for incoming calls (for the secure, screen off case). Bug: 7411356 Change-Id: I83005a77930ec7f70a613b3396f85ab1a5fdd96c
1 parent 3e29733 commit 3e98b9a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewMediator.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,13 +1306,6 @@ private void adjustStatusBarLocked() {
13061306
// (like recents). Temporary enable/disable (e.g. the "back" button) are
13071307
// done in KeyguardHostView.
13081308
flags |= StatusBarManager.DISABLE_RECENT;
1309-
if (!mScreenOn) {
1310-
// Disable all navbar buttons on screen off. The navigation bar will hide
1311-
// these immediately to avoid seeing the end of layout transition animations
1312-
// if quickly turning back on.
1313-
flags |= StatusBarManager.DISABLE_HOME;
1314-
flags |= StatusBarManager.DISABLE_BACK;
1315-
}
13161309
if (isSecure() || !ENABLE_INSECURE_STATUS_BAR_EXPAND) {
13171310
// showing secure lockscreen; disable expanding.
13181311
flags |= StatusBarManager.DISABLE_EXPAND;

0 commit comments

Comments
 (0)