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

Commit 209aec58 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Ensure callbacks removed when view detached." into sc-qpr1-dev

parents 24ad5af4 2e6e7a3c
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() {