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

Commit 0fa59b89 authored by Filip Gruszczynski's avatar Filip Gruszczynski Committed by Android Git Automerger
Browse files

am 896a82d7: am d0e03392: Merge "Fix double chin issue, where bottom inset is...

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

* commit '896a82d7':
  Fix double chin issue, where bottom inset is applied twice.
parents 7544c829 896a82d7
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);