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

Commit a708b619 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Hide the nav handle when going to AOD rather then having it stay there,...

Merge "Hide the nav handle when going to AOD rather then having it stay there, change color, then disappear." into main
parents c485ab3a baf77ba2
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -121,7 +121,15 @@ constructor(
                    var flags = StatusBarManager.DISABLE_NONE

                    if (hideHomeAndRecentsForBouncer || (isKeyguardShowing && !isOccluded)) {
                        if (!isShowHomeOverLockscreen || !isGesturalMode) {
                        // Hide the home button/nav handle if we're on keyguard and either:
                        // - Going to AOD, in which case the handle should animate away.
                        // - Nav handle is configured not to show on lockscreen.
                        // - There is no nav handle.
                        if (
                            startedState == KeyguardState.AOD ||
                                !isShowHomeOverLockscreen ||
                                !isGesturalMode
                        ) {
                            flags = flags or StatusBarManager.DISABLE_HOME
                        }
                        flags = flags or StatusBarManager.DISABLE_RECENT