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

Commit 839f081b authored by Hawkwood Glazier's avatar Hawkwood Glazier Committed by Android (Google) Code Review
Browse files

Merge "Only register the primary KeyguardClockSwitchController w/ DumpManager" into udc-qpr-dev

parents 88b585c5 097518c6
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -222,8 +222,10 @@ public class KeyguardClockSwitchController extends ViewController<KeyguardClockS
        mSmallClockFrame = mView.findViewById(R.id.lockscreen_clock_view);
        mLargeClockFrame = mView.findViewById(R.id.lockscreen_clock_view_large);

        if (!mOnlyClock) {
            mDumpManager.unregisterDumpable(getClass().toString()); // unregister previous clocks
            mDumpManager.registerDumpable(getClass().toString(), this);
        }

        if (mFeatureFlags.isEnabled(LOCKSCREEN_WALLPAPER_DREAM_ENABLED)) {
            mStatusArea = mView.findViewById(R.id.keyguard_status_area);