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

Commit 896a82d7 authored by Filip Gruszczynski's avatar Filip Gruszczynski Committed by Android Git Automerger
Browse files

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

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

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