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

Commit b3bd93da authored by Felix Stern's avatar Felix Stern Committed by Android (Google) Code Review
Browse files

Merge "Wait for IME window to be drawn in testSurfaceRemovedAfterHideSoftInput" into main

parents be29e8a3 4b04c4f5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -267,8 +267,8 @@ public class InputMethodServiceTest {

        final var window = mInputMethodService.getWindow().getWindow();
        assertWithMessage("IME window exists").that(window).isNotNull();
        assertWithMessage("IME window showing").that(
                window.getDecorView().getVisibility()).isEqualTo(View.VISIBLE);
        eventually(() -> assertWithMessage("IME window showing").that(
                window.getDecorView().getVisibility()).isEqualTo(View.VISIBLE));

        mActivity.getWindow().getDecorView().setWindowInsetsAnimationCallback(
                new WindowInsetsAnimation.Callback(