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

Commit ed1e73a0 authored by Andre Le's avatar Andre Le Committed by Android (Google) Code Review
Browse files

Merge "Flexiglass: Disable hideKeyguardImpl when SceneContainer is enabled" into main

parents 89c838eb 00fe4e5a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2235,6 +2235,8 @@ public class CentralSurfacesImpl implements CoreStartable, CentralSurfaces {
     */
    @Override
    public boolean hideKeyguardImpl(boolean forceStateChange) {
        if (SceneContainerFlag.isEnabled()) return false;

        Trace.beginSection("CentralSurfaces#hideKeyguard");
        boolean staying = mStatusBarStateController.leaveOpenOnKeyguardHide();
        int previousState = mStatusBarStateController.getState();