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

Commit e405a468 authored by João Victor Mendes Freire's avatar João Victor Mendes Freire Committed by Android (Google) Code Review
Browse files

Merge "Change waitCoolDownPeriod to compare wait times"

parents 2f79b0f4 c606c28c
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1554,8 +1554,9 @@ public class UserLifecycleTests {
    }

    private void waitCoolDownPeriod() {
        final int tenSeconds = 1000 * 10;
        // Heuristic value based on local tests. Stability increased compared to no waiting.
        final int fiveSeconds = 1000 * 5;
        waitForBroadcastIdle();
        sleep(tenSeconds);
        sleep(fiveSeconds);
    }
}