Skip to content

Commit d03a555

Browse files
author
Jim Miller
committed
Attempt to fix blank keyguard issue
This is an attempt to fix bug 7137389. It forces a layout when the screen comes back on, which should alleviate the issue. Change-Id: I00a3829f1662a8db99d947856ca11660b4bfb805
1 parent 1679b36 commit d03a555

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,11 @@ public void onScreenTurnedOn() {
496496
if (DEBUG) Log.d(TAG, "screen on");
497497
showSecurityScreen(mCurrentSecuritySelection);
498498
getSecurityView(mCurrentSecuritySelection).onResume();
499+
500+
// This is a an attempt to fix bug 7137389 where the device comes back on but the entire
501+
// layout is blank but forcing a layout causes it to reappear (e.g. with with
502+
// hierarchyviewer).
503+
requestLayout();
499504
}
500505

501506
@Override

0 commit comments

Comments
 (0)