summaryrefslogtreecommitdiff
path: root/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/MatchContentFrameRateFragmentTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/MatchContentFrameRateFragmentTest.java')
-rw-r--r--Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/MatchContentFrameRateFragmentTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/MatchContentFrameRateFragmentTest.java b/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/MatchContentFrameRateFragmentTest.java
index 769a643a4..0c45aa760 100644
--- a/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/MatchContentFrameRateFragmentTest.java
+++ b/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/MatchContentFrameRateFragmentTest.java
@@ -35,6 +35,7 @@ import org.mockito.MockitoAnnotations;
import org.mockito.Spy;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.RuntimeEnvironment;
+import org.robolectric.annotation.LooperMode;
import org.robolectric.shadows.androidx.fragment.FragmentController;
@RunWith(RobolectricTestRunner.class)
@@ -152,6 +153,7 @@ public class MatchContentFrameRateFragmentTest {
}
@Test
+ @LooperMode(LooperMode.Mode.LEGACY)
public void testDefaultPreference() {
FragmentController.of(mMatchContentFrameRateFragment)
.create();