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

Commit f2098426 authored by Clark Scheff's avatar Clark Scheff Committed by Gerrit Code Review
Browse files

Themes: Call startKeyguard() when recreating status bar

mStatusBarKeyguardViewManager holds on to a reference of ScrimController
and we need to update this otherwise the scrim will remain on the screen
and consume all touch events.

This is easily reproduced by changing a theme and then turning the screen
off and on to display the keyguard.  Once the keyguard is dismissed the
scrim remains on the screen.

Change-Id: Ie050a951117ed4aebef4ea3343366b9b9361b8a6
parent 7a8badc2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3712,6 +3712,8 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
                mRecreating = false;
            }
        });
        // restart the keyguard so it picks up the newly created ScrimController
        startKeyguard();
    }

    private void removeAllViews(ViewGroup parent) {