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

Commit 6017cfdb authored by Orhan Uysal's avatar Orhan Uysal
Browse files

Fix synchronization issue in tests.

Test: Manual
Bug: 306178462
Change-Id: I4937f8043088080db01a74208096623da5cbed8f
parent a0398178
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2440,7 +2440,7 @@ public class DisplayManagerServiceTest {
        callback.waitForExpectedEvent();
        callback.clear();

        callback.expectsEvent(EVENT_DISPLAY_CONNECTED);
        callback.expectsEvent(EVENT_DISPLAY_ADDED);
        FakeDisplayDevice displayDevice =
                createFakeDisplayDevice(displayManager, new float[]{60f}, Display.TYPE_EXTERNAL);
        callback.waitForExpectedEvent();