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

Commit e2bd7be2 authored by John Spurlock's avatar John Spurlock Committed by Android (Google) Code Review
Browse files

Merge "Ensure fitSystemWindows is called on the IME at least once." into klp-dev

parents f22a767e 3bf26b6f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -39,6 +39,12 @@ public class InputMethodRoot extends LinearLayout {
        super(context, attrs);
    }

    @Override
    protected void onAttachedToWindow() {
        super.onAttachedToWindow();
        requestFitSystemWindows();
    }

    @Override
    protected boolean fitSystemWindows(Rect insets) {
        if (mNavigationGuard == null) {