Unregister mShowWeatherObserver when KeyguardClockSwitchController is detached
Bug: 295143740 Test: Manually checked codepath with secondary display Change-Id: I8807d1d58b58f1e5c990c21cef6a810e8b13c1db
This commit is contained in:
@@ -292,6 +292,7 @@ public class KeyguardClockSwitchController extends ViewController<KeyguardClockS
|
||||
setClock(null);
|
||||
|
||||
mSecureSettings.unregisterContentObserver(mDoubleLineClockObserver);
|
||||
mSecureSettings.unregisterContentObserver(mShowWeatherObserver);
|
||||
|
||||
mKeyguardUnlockAnimationController.removeKeyguardUnlockAnimationListener(
|
||||
mKeyguardUnlockAnimationListener);
|
||||
|
||||
Reference in New Issue
Block a user