Merge "Fix UI flicker problem and update wordings"

This commit is contained in:
TreeHugger Robot
2022-06-24 10:07:05 +00:00
committed by Android (Google) Code Review
4 changed files with 7 additions and 5 deletions

View File

@@ -150,7 +150,8 @@ public class LocationTimeZoneDetectionPreferenceControllerTest {
new TimeZoneCapabilitiesAndConfig(capabilities, configuration);
when(mTimeManager.getTimeZoneCapabilitiesAndConfig()).thenReturn(capabilitiesAndConfig);
assertThat(mController.getSummary().toString()).isEmpty();
assertThat(mController.getSummary()).isEqualTo(
mContext.getString(R.string.location_time_zone_detection_auto_is_on));
}
@Test