diff options
| author | 2021-05-11 10:55:03 +0000 | |
|---|---|---|
| committer | 2021-05-11 10:55:03 +0000 | |
| commit | f0cf73d84be390fed0cb888afcc4dbccf21fe751 (patch) | |
| tree | 0cdc76527df8ef69e9aa905207b93efacee309f7 | |
| parent | 160d104df9f245c59ff99ab5335c7c5bda4c82b3 (diff) | |
| parent | ea491da863774457299ffd5f2534dc2ba4d3ba52 (diff) | |
Merge "Let IME receive insets ignoring z-order" into sc-dev
| -rw-r--r-- | core/java/android/inputmethodservice/InputMethodService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/inputmethodservice/InputMethodService.java b/core/java/android/inputmethodservice/InputMethodService.java index d7b96dfb7827..f0d410f46f81 100644 --- a/core/java/android/inputmethodservice/InputMethodService.java +++ b/core/java/android/inputmethodservice/InputMethodService.java @@ -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 |