* commit 'c4b274782793e33d58cb119b3c294bbb31daea14': Window decor rect should not include the nav bar if hidden.
This commit is contained in:
@@ -3007,7 +3007,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;
|
||||
|
||||
Reference in New Issue
Block a user