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

Commit e9335bab authored by John Spurlock's avatar John Spurlock Committed by Android Git Automerger
Browse files

am 12585551: am c4b27478: am 8e0ca288: Window decor rect should not include the nav bar if hidden.

* commit '12585551':
  Window decor rect should not include the nav bar if hidden.
parents 414fb0df 12585551
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3012,7 +3012,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                    // Ensure policy decor includes status bar
                    dcf.top = mStableTop;
                }
                if ((sysUiFl & View.SYSTEM_UI_FLAG_TRANSPARENT_NAVIGATION) == 0) {
                if ((sysUiFl & View.SYSTEM_UI_FLAG_TRANSPARENT_NAVIGATION) == 0
                        && (sysUiFl & View.SYSTEM_UI_FLAG_HIDE_NAVIGATION) == 0) {
                    // Ensure policy decor includes navigation bar
                    dcf.bottom = mStableBottom;
                    dcf.right = mStableRight;