Merge "Fix double chin issue, where bottom inset is applied twice." into klp-modular-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d0e0339239
@ -2102,8 +2102,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
|
||||
int bottom = (int) mOutsetBottom.getDimension(metrics);
|
||||
WindowInsets newInsets = insets.replaceSystemWindowInsets(
|
||||
insets.getSystemWindowInsetLeft(), insets.getSystemWindowInsetTop(),
|
||||
insets.getSystemWindowInsetRight(),
|
||||
insets.getSystemWindowInsetBottom() + bottom);
|
||||
insets.getSystemWindowInsetRight(), bottom);
|
||||
return super.dispatchApplyWindowInsets(newInsets);
|
||||
} else {
|
||||
return super.dispatchApplyWindowInsets(insets);
|
||||
|
Reference in New Issue
Block a user