Loading src/com/android/launcher3/util/UiThreadHelper.java +2 −4 Original line number Diff line number Diff line Loading @@ -50,12 +50,10 @@ public class UiThreadHelper { WindowInsets rootInsets = root.getRootWindowInsets(); boolean isImeShown = rootInsets != null && rootInsets.isVisible( WindowInsets.Type.ime()); if (isImeShown) { // this call is already asynchronous root.getWindowInsetsController().hide(WindowInsets.Type.ime()); } if (!isImeShown) { return; } } Message.obtain(HANDLER.get(root.getContext()), MSG_HIDE_KEYBOARD, token).sendToTarget(); Loading Loading
src/com/android/launcher3/util/UiThreadHelper.java +2 −4 Original line number Diff line number Diff line Loading @@ -50,12 +50,10 @@ public class UiThreadHelper { WindowInsets rootInsets = root.getRootWindowInsets(); boolean isImeShown = rootInsets != null && rootInsets.isVisible( WindowInsets.Type.ime()); if (isImeShown) { // this call is already asynchronous root.getWindowInsetsController().hide(WindowInsets.Type.ime()); } if (!isImeShown) { return; } } Message.obtain(HANDLER.get(root.getContext()), MSG_HIDE_KEYBOARD, token).sendToTarget(); Loading