Merge "Attempt to fix blank keyguard issue" into jb-mr1-dev

This commit is contained in:
Jim Miller
2012-09-11 13:08:18 -07:00
committed by Android (Google) Code Review

View File

@@ -496,6 +496,11 @@ public class KeyguardHostView extends KeyguardViewBase {
if (DEBUG) Log.d(TAG, "screen on");
showSecurityScreen(mCurrentSecuritySelection);
getSecurityView(mCurrentSecuritySelection).onResume();
// This is a an attempt to fix bug 7137389 where the device comes back on but the entire
// layout is blank but forcing a layout causes it to reappear (e.g. with with
// hierarchyviewer).
requestLayout();
}
@Override