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

Commit 9d5bf240 authored by Tiger Huang's avatar Tiger Huang Committed by Automerger Merge Worker
Browse files

Merge "Let IME receive insets ignoring z-order" into sc-dev am: f0cf73d8

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14410480

Change-Id: Iae14b2f10f3930e52f130776d4d1f3959e69487b
parents bbfadb09 f0cf73d8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1329,6 +1329,7 @@ public class InputMethodService extends AbstractInputMethodService {
                WindowManager.LayoutParams.TYPE_INPUT_METHOD, Gravity.BOTTOM, false);
        mWindow.getWindow().getAttributes().setFitInsetsTypes(statusBars() | navigationBars());
        mWindow.getWindow().getAttributes().setFitInsetsSides(Side.all() & ~Side.BOTTOM);
        mWindow.getWindow().getAttributes().receiveInsetsIgnoringZOrder = true;

        // Automotive devices may request the navigation bar to be hidden when the IME shows up
        // (controlled via config_automotiveHideNavBarForKeyboard) in order to maximize the visible