Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 716aa1b9 authored by Hawkwood Glazier's avatar Hawkwood Glazier Committed by Automerger Merge Worker
Browse files

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

Merge "Adjust WeatherDate view to be INVISIBLE instead of GONE" into udc-dev am: 424b9987 am: 97f6e19d

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22560803



Change-Id: I9e43f7c21f644c8477d034db1525f2bbc4fc8576
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 476d686a 97f6e19d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
            });
        }
    }
+1 −1
Original line number Diff line number Diff line
@@ -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