Loading packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java +5 −1 Original line number Diff line number Diff line Loading @@ -133,12 +133,16 @@ public class AnimatableClockController extends ViewController<AnimatableClockVie } }; @Override protected void onInit() { mIsDozing = mStatusBarStateController.isDozing(); } @Override protected void onViewAttached() { updateLocale(); mBroadcastDispatcher.registerReceiver(mLocaleBroadcastReceiver, new IntentFilter(Intent.ACTION_LOCALE_CHANGED)); mIsDozing = mStatusBarStateController.isDozing(); mDozeAmount = mStatusBarStateController.getDozeAmount(); mBatteryController.addCallback(mBatteryCallback); mKeyguardUpdateMonitor.registerCallback(mKeyguardUpdateMonitorCallback); Loading Loading
packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java +5 −1 Original line number Diff line number Diff line Loading @@ -133,12 +133,16 @@ public class AnimatableClockController extends ViewController<AnimatableClockVie } }; @Override protected void onInit() { mIsDozing = mStatusBarStateController.isDozing(); } @Override protected void onViewAttached() { updateLocale(); mBroadcastDispatcher.registerReceiver(mLocaleBroadcastReceiver, new IntentFilter(Intent.ACTION_LOCALE_CHANGED)); mIsDozing = mStatusBarStateController.isDozing(); mDozeAmount = mStatusBarStateController.getDozeAmount(); mBatteryController.addCallback(mBatteryCallback); mKeyguardUpdateMonitor.registerCallback(mKeyguardUpdateMonitorCallback); Loading