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

Commit 689023d6 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Attempt to fix WrongTypeOfReturnValue flaky exception"

parents 36898720 787b244d
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -55,8 +55,11 @@ public class AppTransitionTests extends WindowTestsBase {

    @Before
    public void setUp() throws Exception {
        synchronized (mWm.mGlobalLock) {
            // Hold the lock to protect the stubbing from being accessed by other threads.
            spyOn(mWm.mRoot);
            doNothing().when(mWm.mRoot).performSurfacePlacement(anyBoolean());
        }
        mDc = mWm.getDefaultDisplayContentLocked();
    }