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

Commit 9fc72692 authored by Tiger Huang's avatar Tiger Huang Committed by Android (Google) Code Review
Browse files

Merge "Remove redundant logic about showing navigation bar"

parents f61f75ec 615df9cb
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -5761,12 +5761,6 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                    mStatusBarController.updateVisibilityLw(false /*transientAllowed*/,
                            mLastSystemUiFlags, mLastSystemUiFlags);
                }
                final boolean isKeyguardShowing = isStatusBarKeyguard() && !mKeyguardOccluded;
                if (statusBarExpanded && !isKeyguardShowing && mNavigationBar != null) {
                    if (mNavigationBarController.setBarShowingLw(true)) {
                        changes |= FINISH_LAYOUT_REDO_LAYOUT;
                    }
                }
            } else if (mTopFullscreenOpaqueWindowState != null) {
                topIsFullscreen = topAppHidesStatusBar;
                // The subtle difference between the window for mTopFullscreenOpaqueWindowState