Merge "Fix dark mode activity in incorrect stage exception"
This commit is contained in:
@@ -88,8 +88,7 @@ public class DarkThemeScheduleComponentTest {
|
||||
CommonUtils.reopenScreen();
|
||||
});
|
||||
|
||||
// Recreate the scenario to make sure UI apply new mode.
|
||||
scenario.recreate();
|
||||
// Relaunch the scenario to make sure UI apply new mode.
|
||||
scenario.onActivity(activity -> {
|
||||
Log.d(TAG, "Activity Recreated!");
|
||||
UiUtils.waitForActivitiesInStage(2000, Stage.RESUMED);
|
||||
|
Reference in New Issue
Block a user