am 896a82d7: am d0e03392: Merge "Fix double chin issue, where bottom inset is applied twice." into klp-modular-dev

* commit '896a82d77e732c7387b2279bcdd0f04d696b13df':
  Fix double chin issue, where bottom inset is applied twice.
This commit is contained in:
Filip Gruszczynski
2014-07-29 01:08:09 +00:00
committed by Android Git Automerger

View File

@@ -2285,8 +2285,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);