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

Commit f3bfed51 authored by Mike Lockwood's avatar Mike Lockwood
Browse files

Workaround for a keyguard problem that appeared in the in call screen.



While in call, pressing the power key to turn off the screen caused the Home button
to no longer work after rewaking the screen due to the KeyguardViewMediator mHidden flag not being set.

Change-Id: I322317671b2e5e32de23ed524f6e4808b0334c12
BUG: 2382766

Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent dc893738
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1450,18 +1450,18 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                }
            } else if (mHideLockScreen) {
                if (mKeyguard.hideLw(false)) {
                    mKeyguardMediator.setHidden(true);
                    changes |= FINISH_LAYOUT_REDO_LAYOUT
                            | FINISH_LAYOUT_REDO_CONFIG
                            | FINISH_LAYOUT_REDO_WALLPAPER;
                }
                mKeyguardMediator.setHidden(true);
            } else {
                if (mKeyguard.showLw(false)) {
                    mKeyguardMediator.setHidden(false);
                    changes |= FINISH_LAYOUT_REDO_LAYOUT
                            | FINISH_LAYOUT_REDO_CONFIG
                            | FINISH_LAYOUT_REDO_WALLPAPER;
                }
                mKeyguardMediator.setHidden(false);
            }
        }