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

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

Merge "Fix flakiness of testTaskChangeCallBacks"

parents 6406ad57 67983a91
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -198,6 +198,10 @@ public class TaskStackChangedListenerTest {

            @Override
            public void onTaskRemoved(int taskId) throws RemoteException {
                if (taskCreatedLaunchLatch.getCount() == 1) {
                    // The test activity hasn't started. Ignore the noise from previous test.
                    return;
                }
                params[0] = taskId;
                taskRemovedLatch.countDown();
            }