Mark NightModeRotateRecreatesActivityWithConfigTestCase#testRotateRecreatesActivityWithConfig[0] as @FlakyTest

Bug: 188599568
Change-Id: I7e6bc20e6fe2adeef7b2ec1021152256fd004bbf
diff --git a/appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/NightModeRotateRecreatesActivityWithConfigTestCase.kt b/appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/NightModeRotateRecreatesActivityWithConfigTestCase.kt
index 3a8995a..b2cce55 100644
--- a/appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/NightModeRotateRecreatesActivityWithConfigTestCase.kt
+++ b/appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/NightModeRotateRecreatesActivityWithConfigTestCase.kt
@@ -27,6 +27,7 @@
 import androidx.appcompat.testutils.NightModeUtils.assertConfigurationNightModeEquals
 import androidx.appcompat.testutils.NightModeUtils.setNightModeAndWaitForRecreate
 import androidx.lifecycle.Lifecycle
+import androidx.test.filters.FlakyTest;
 import androidx.test.filters.LargeTest
 import androidx.test.filters.SdkSuppress
 import androidx.test.platform.app.InstrumentationRegistry
@@ -77,6 +78,7 @@
         }
     }
 
+    @FlakyTest // b/188599568
     @Test
     public fun testRotateRecreatesActivityWithConfig() {
         // Set local night mode to MODE_NIGHT_YES and wait for state RESUMED.