Merge "Only register the primary KeyguardClockSwitchController w/ DumpManager" into udc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
839f081b9d
@@ -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);
|
||||
|
||||
mDumpManager.unregisterDumpable(getClass().toString()); // unregister previous clocks
|
||||
mDumpManager.registerDumpable(getClass().toString(), this);
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user