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

Commit 7a270552 authored by Charles Chen's avatar Charles Chen Committed by Android (Google) Code Review
Browse files

Merge "Fix testCreateWindowContextNewTokenFromClient" into main

parents 94e80780 c5c46a66
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -185,7 +185,14 @@ public class WindowContextTest {
        mWindowContext.release();

        // After the window context's release, the window token is also removed.
        assertFalse("Token must be removed after release.", mWms.isWindowToken(token));
        PollingCheck.waitFor(() -> {
            try {
                return !mWms.isWindowToken(token);
            } catch (RemoteException e) {
                fail("Fail to call isWindowToken:" + e);
                return false;
            }
        });
    }

    /**