Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d03a5558 authored by Jim Miller's avatar Jim Miller
Browse files

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
parent 1679b368
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -496,6 +496,11 @@ public class KeyguardHostView extends KeyguardViewBase {
        if (DEBUG) Log.d(TAG, "screen on");
        if (DEBUG) Log.d(TAG, "screen on");
        showSecurityScreen(mCurrentSecuritySelection);
        showSecurityScreen(mCurrentSecuritySelection);
        getSecurityView(mCurrentSecuritySelection).onResume();
        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
    @Override