Merge "Let IME receive insets ignoring z-order" into sc-dev
This commit is contained in:
@@ -1329,6 +1329,7 @@ public class InputMethodService extends AbstractInputMethodService {
|
|||||||
WindowManager.LayoutParams.TYPE_INPUT_METHOD, Gravity.BOTTOM, false);
|
WindowManager.LayoutParams.TYPE_INPUT_METHOD, Gravity.BOTTOM, false);
|
||||||
mWindow.getWindow().getAttributes().setFitInsetsTypes(statusBars() | navigationBars());
|
mWindow.getWindow().getAttributes().setFitInsetsTypes(statusBars() | navigationBars());
|
||||||
mWindow.getWindow().getAttributes().setFitInsetsSides(Side.all() & ~Side.BOTTOM);
|
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
|
// 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
|
// (controlled via config_automotiveHideNavBarForKeyboard) in order to maximize the visible
|
||||||
|
|||||||
Reference in New Issue
Block a user