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

Commit d85618ef authored by John Spurlock's avatar John Spurlock
Browse files

Clear low profile bit when showing hideybars.

Consider this an interaction, ensures that the hideybar
does not reveal itself in low profile mode.

Bug: 9102473
Change-Id: I8819a7d3d7aef0e08afb6f8c574c0ac519066cca
parent dadfb9c9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5117,6 +5117,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);
                }
            }
@@ -5133,6 +5134,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);
                }
            }