diff options
| author | 2023-09-14 02:50:08 +0000 | |
|---|---|---|
| committer | 2023-09-14 02:50:08 +0000 | |
| commit | fe4e586e2ec3b5b0a2392221bff796ced14a8b7a (patch) | |
| tree | 63d5a9e84d5fa95e48021734a7abc3a328c49b2b | |
| parent | 4e54a895f0f265030d3cc0ebd45f50db7aefb450 (diff) | |
| parent | c9c3e0f81a9c3037d06c7ffa8c66d08d74f0cf40 (diff) | |
Merge "Unregister mShowWeatherObserver when KeyguardClockSwitchController is detached" into udc-dev
| -rw-r--r-- | packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java b/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java index a0261309d61a..70849b7e2acf 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java @@ -266,6 +266,7 @@ public class KeyguardClockSwitchController extends ViewController<KeyguardClockS setClock(null); mSecureSettings.unregisterContentObserver(mDoubleLineClockObserver); + mSecureSettings.unregisterContentObserver(mShowWeatherObserver); mKeyguardUnlockAnimationController.removeKeyguardUnlockAnimationListener( mKeyguardUnlockAnimationListener); |