Loading core/java/android/inputmethodservice/InputMethodService.java +0 −1 Original line number Original line Diff line number Diff line Loading @@ -2894,7 +2894,6 @@ public class InputMethodService extends AbstractInputMethodService { // Back callback is typically unregistered in {@link #hideWindow()}, but it's possible // Back callback is typically unregistered in {@link #hideWindow()}, but it's possible // for {@link #doFinishInput()} to be called without {@link #hideWindow()} so we also // for {@link #doFinishInput()} to be called without {@link #hideWindow()} so we also // unregister here. // unregister here. // TODO(b/232341407): Add CTS to verify back behavior after screen on / off. unregisterCompatOnBackInvokedCallback(); unregisterCompatOnBackInvokedCallback(); } } Loading core/java/android/window/ImeOnBackInvokedDispatcher.java +0 −2 Original line number Original line Diff line number Diff line Loading @@ -221,8 +221,6 @@ public class ImeOnBackInvokedDispatcher implements OnBackInvokedDispatcher, Parc * @param previous the previously focused {@link ViewRootImpl}. * @param previous the previously focused {@link ViewRootImpl}. * @param current the currently focused {@link ViewRootImpl}. * @param current the currently focused {@link ViewRootImpl}. */ */ // TODO(b/232845902): Add CTS to test IME back behavior when there's root view change while // IME is up. public void switchRootView(ViewRootImpl previous, ViewRootImpl current) { public void switchRootView(ViewRootImpl previous, ViewRootImpl current) { for (ImeOnBackInvokedCallback imeCallback : mImeCallbacks) { for (ImeOnBackInvokedCallback imeCallback : mImeCallbacks) { if (previous != null) { if (previous != null) { Loading Loading
core/java/android/inputmethodservice/InputMethodService.java +0 −1 Original line number Original line Diff line number Diff line Loading @@ -2894,7 +2894,6 @@ public class InputMethodService extends AbstractInputMethodService { // Back callback is typically unregistered in {@link #hideWindow()}, but it's possible // Back callback is typically unregistered in {@link #hideWindow()}, but it's possible // for {@link #doFinishInput()} to be called without {@link #hideWindow()} so we also // for {@link #doFinishInput()} to be called without {@link #hideWindow()} so we also // unregister here. // unregister here. // TODO(b/232341407): Add CTS to verify back behavior after screen on / off. unregisterCompatOnBackInvokedCallback(); unregisterCompatOnBackInvokedCallback(); } } Loading
core/java/android/window/ImeOnBackInvokedDispatcher.java +0 −2 Original line number Original line Diff line number Diff line Loading @@ -221,8 +221,6 @@ public class ImeOnBackInvokedDispatcher implements OnBackInvokedDispatcher, Parc * @param previous the previously focused {@link ViewRootImpl}. * @param previous the previously focused {@link ViewRootImpl}. * @param current the currently focused {@link ViewRootImpl}. * @param current the currently focused {@link ViewRootImpl}. */ */ // TODO(b/232845902): Add CTS to test IME back behavior when there's root view change while // IME is up. public void switchRootView(ViewRootImpl previous, ViewRootImpl current) { public void switchRootView(ViewRootImpl previous, ViewRootImpl current) { for (ImeOnBackInvokedCallback imeCallback : mImeCallbacks) { for (ImeOnBackInvokedCallback imeCallback : mImeCallbacks) { if (previous != null) { if (previous != null) { Loading