Merge "Adjust WeatherDate view to be INVISIBLE instead of GONE" into udc-dev

This commit is contained in:
Hawkwood Glazier
2023-04-12 18:25:07 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -493,7 +493,7 @@ public class KeyguardClockSwitchController extends ViewController<KeyguardClockS
if (mDateWeatherView != null) {
mUiExecutor.execute(() -> {
mDateWeatherView.setVisibility(
clockHasCustomWeatherDataDisplay() ? View.GONE : View.VISIBLE);
clockHasCustomWeatherDataDisplay() ? View.INVISIBLE : View.VISIBLE);
});
}
}

View File

@@ -391,7 +391,7 @@ public class KeyguardClockSwitchControllerTest extends SysuiTestCase {
listenerArgumentCaptor.getValue().onCurrentClockChanged();
mExecutor.runAllReady();
assertEquals(View.GONE, mFakeDateView.getVisibility());
assertEquals(View.INVISIBLE, mFakeDateView.getVisibility());
}
@Test