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

Commit 278989e6 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: If53683eb2f993b61854e69496f9569fa90fe93eb
parents ada726e2 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() {