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

Commit 0ac31bf6 authored by Shan Huang's avatar Shan Huang Committed by Android (Google) Code Review
Browse files

Merge "Remove TODOs for adding CTS tests."

parents e0a4c6a8 223bec74
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -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();
    }
    }


+0 −2
Original line number Original line Diff line number Diff line
@@ -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) {