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

Commit 5bee398f authored by John Spurlock's avatar John Spurlock Committed by Android (Google) Code Review
Browse files

Merge "Clear low profile bit when showing hideybars."

parents 846b6f8d d85618ef
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5116,6 +5116,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                // show status hideybar
                tmpVisibility |= View.STATUS_BAR_OVERLAY;
                if ((mLastSystemUiFlags & View.STATUS_BAR_OVERLAY) == 0) {
                    tmpVisibility &= ~View.SYSTEM_UI_FLAG_LOW_PROFILE;
                    mStatusBar.showLw(true);
                }
            }
@@ -5132,6 +5133,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                // show navigation hideybar
                tmpVisibility |= View.NAVIGATION_BAR_OVERLAY;
                if ((mLastSystemUiFlags & View.NAVIGATION_BAR_OVERLAY) == 0) {
                    tmpVisibility &= ~View.SYSTEM_UI_FLAG_LOW_PROFILE;
                    mNavigationBar.showLw(true);
                }
            }