Loading packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java +1 −1 Original line number Diff line number Diff line Loading @@ -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); }); } } Loading packages/SystemUI/tests/src/com/android/keyguard/KeyguardClockSwitchControllerTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java +1 −1 Original line number Diff line number Diff line Loading @@ -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); }); } } Loading
packages/SystemUI/tests/src/com/android/keyguard/KeyguardClockSwitchControllerTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading