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

Commit d8fc342d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Ensure callbacks removed when view detached." into sc-qpr1-dev am: 209aec58

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

Change-Id: Ie84678aa0da5402ef43b623bf521e7a5f8db96ad
parents 7e4663c4 209aec58
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -160,10 +160,8 @@ public class AnimatableClockController extends ViewController<AnimatableClockVie
        mBroadcastDispatcher.unregisterReceiver(mLocaleBroadcastReceiver);
        mKeyguardUpdateMonitor.removeCallback(mKeyguardUpdateMonitorCallback);
        mBatteryController.removeCallback(mBatteryCallback);
        if (!mView.isAttachedToWindow()) {
        mStatusBarStateController.removeCallback(mStatusBarStatePersistentListener);
    }
    }

    /** Animate the clock appearance */
    public void animateAppear() {