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

Commit d0e03392 authored by Filip Gruszczynski's avatar Filip Gruszczynski Committed by Android (Google) Code Review
Browse files

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

parents 0fa45d93 6393196f
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);