diff options
| author | 2022-10-24 20:23:31 +0000 | |
|---|---|---|
| committer | 2022-10-24 20:23:31 +0000 | |
| commit | c1fb8b4865aea524ec84cf4a5c8a7d9957bde8a8 (patch) | |
| tree | 8d1a2fcb7030f2520cfd7d08ac7785ce4be982bf | |
| parent | 24d2aacad54763daab8e917e0ce21f53dc1c4898 (diff) | |
| parent | 42801d0481aa49868dc05756923f4f3eb54a3203 (diff) | |
Merge "Fix the test fail of the MenuAnimationControllerTest."
| -rw-r--r-- | packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/MenuAnimationControllerTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/MenuAnimationControllerTest.java b/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/MenuAnimationControllerTest.java index 6391a2c8eff7..dbf291c49ee5 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/MenuAnimationControllerTest.java +++ b/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/MenuAnimationControllerTest.java @@ -20,6 +20,7 @@ import static com.google.common.truth.Truth.assertThat; import android.graphics.PointF; import android.testing.AndroidTestingRunner; +import android.testing.TestableLooper; import android.view.WindowManager; import androidx.test.filters.SmallTest; @@ -32,6 +33,7 @@ import org.junit.runner.RunWith; /** Tests for {@link MenuAnimationController}. */ @RunWith(AndroidTestingRunner.class) +@TestableLooper.RunWithLooper(setAsMainLooper = true) @SmallTest public class MenuAnimationControllerTest extends SysuiTestCase { private MenuView mMenuView; |