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

Commit 89de5a49 authored by Hawkwood Glazier's avatar Hawkwood Glazier
Browse files

Unregister mShowWeatherObserver when KeyguardClockSwitchController is detached

Bug: 295143740
Test: Manually checked codepath with secondary display
Change-Id: I8807d1d58b58f1e5c990c21cef6a810e8b13c1db
parent 9c708647
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -292,6 +292,7 @@ public class KeyguardClockSwitchController extends ViewController<KeyguardClockS
        setClock(null);

        mSecureSettings.unregisterContentObserver(mDoubleLineClockObserver);
        mSecureSettings.unregisterContentObserver(mShowWeatherObserver);

        mKeyguardUnlockAnimationController.removeKeyguardUnlockAnimationListener(
                mKeyguardUnlockAnimationListener);