Loading packages/SystemUI/src/com/android/systemui/classifier/FalsingManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -108,7 +108,7 @@ public class FalsingManager implements SensorEventListener { UserHandle.USER_ALL); updateConfiguration(); Dependency.get(StatusBarStateController.class).addListener(mStateListener); Dependency.get(StatusBarStateController.class).addCallback(mStateListener); } public static FalsingManager getInstance(Context context) { Loading packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java +2 −2 Original line number Diff line number Diff line Loading @@ -156,7 +156,7 @@ public class KeyguardIndicationController implements StateListener { new IntentFilter(Intent.ACTION_TIME_TICK), null, Dependency.get(Dependency.TIME_TICK_HANDLER)); Dependency.get(StatusBarStateController.class).addListener(this); Dependency.get(StatusBarStateController.class).addCallback(this); } /** Loading @@ -167,7 +167,7 @@ public class KeyguardIndicationController implements StateListener { */ public void destroy() { mContext.unregisterReceiver(mTickReceiver); Dependency.get(StatusBarStateController.class).removeListener(this); Dependency.get(StatusBarStateController.class).removeCallback(this); } /** Loading packages/SystemUI/src/com/android/systemui/statusbar/NotificationLockscreenUserManagerImpl.java +1 −1 Original line number Diff line number Diff line Loading @@ -165,7 +165,7 @@ public class NotificationLockscreenUserManagerImpl implements mCurrentUserId = ActivityManager.getCurrentUser(); mBarService = IStatusBarService.Stub.asInterface( ServiceManager.getService(Context.STATUS_BAR_SERVICE)); Dependency.get(StatusBarStateController.class).addListener(this); Dependency.get(StatusBarStateController.class).addCallback(this); mLockPatternUtils = new LockPatternUtils(context); mKeyguardManager = context.getSystemService(KeyguardManager.class); } Loading packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java +2 −2 Original line number Diff line number Diff line Loading @@ -121,13 +121,13 @@ public class NotificationShelf extends ActivatableNotificationView implements protected void onAttachedToWindow() { super.onAttachedToWindow(); Dependency.get(StatusBarStateController.class) .addListener(mStateListener, StatusBarStateController.RANK_SHELF); .addCallback(mStateListener, StatusBarStateController.RANK_SHELF); } @Override protected void onDetachedFromWindow() { super.onDetachedFromWindow(); Dependency.get(StatusBarStateController.class).removeListener(mStateListener); Dependency.get(StatusBarStateController.class).removeCallback(mStateListener); } public void bind(AmbientState ambientState, NotificationStackScrollLayout hostLayout) { Loading packages/SystemUI/src/com/android/systemui/statusbar/NotificationViewHierarchyManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -129,7 +129,7 @@ public class NotificationViewHierarchyManager { res.getBoolean(R.bool.config_alwaysExpandNonGroupedNotifications); mStatusBarStateListener = new StatusBarStateListener(mBubbleController); mEntryManager.setStatusBarStateListener(mStatusBarStateListener); Dependency.get(StatusBarStateController.class).addListener(mStatusBarStateListener); Dependency.get(StatusBarStateController.class).addCallback(mStatusBarStateListener); } public void setUpWithPresenter(NotificationPresenter presenter, Loading Loading
packages/SystemUI/src/com/android/systemui/classifier/FalsingManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -108,7 +108,7 @@ public class FalsingManager implements SensorEventListener { UserHandle.USER_ALL); updateConfiguration(); Dependency.get(StatusBarStateController.class).addListener(mStateListener); Dependency.get(StatusBarStateController.class).addCallback(mStateListener); } public static FalsingManager getInstance(Context context) { Loading
packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java +2 −2 Original line number Diff line number Diff line Loading @@ -156,7 +156,7 @@ public class KeyguardIndicationController implements StateListener { new IntentFilter(Intent.ACTION_TIME_TICK), null, Dependency.get(Dependency.TIME_TICK_HANDLER)); Dependency.get(StatusBarStateController.class).addListener(this); Dependency.get(StatusBarStateController.class).addCallback(this); } /** Loading @@ -167,7 +167,7 @@ public class KeyguardIndicationController implements StateListener { */ public void destroy() { mContext.unregisterReceiver(mTickReceiver); Dependency.get(StatusBarStateController.class).removeListener(this); Dependency.get(StatusBarStateController.class).removeCallback(this); } /** Loading
packages/SystemUI/src/com/android/systemui/statusbar/NotificationLockscreenUserManagerImpl.java +1 −1 Original line number Diff line number Diff line Loading @@ -165,7 +165,7 @@ public class NotificationLockscreenUserManagerImpl implements mCurrentUserId = ActivityManager.getCurrentUser(); mBarService = IStatusBarService.Stub.asInterface( ServiceManager.getService(Context.STATUS_BAR_SERVICE)); Dependency.get(StatusBarStateController.class).addListener(this); Dependency.get(StatusBarStateController.class).addCallback(this); mLockPatternUtils = new LockPatternUtils(context); mKeyguardManager = context.getSystemService(KeyguardManager.class); } Loading
packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java +2 −2 Original line number Diff line number Diff line Loading @@ -121,13 +121,13 @@ public class NotificationShelf extends ActivatableNotificationView implements protected void onAttachedToWindow() { super.onAttachedToWindow(); Dependency.get(StatusBarStateController.class) .addListener(mStateListener, StatusBarStateController.RANK_SHELF); .addCallback(mStateListener, StatusBarStateController.RANK_SHELF); } @Override protected void onDetachedFromWindow() { super.onDetachedFromWindow(); Dependency.get(StatusBarStateController.class).removeListener(mStateListener); Dependency.get(StatusBarStateController.class).removeCallback(mStateListener); } public void bind(AmbientState ambientState, NotificationStackScrollLayout hostLayout) { Loading
packages/SystemUI/src/com/android/systemui/statusbar/NotificationViewHierarchyManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -129,7 +129,7 @@ public class NotificationViewHierarchyManager { res.getBoolean(R.bool.config_alwaysExpandNonGroupedNotifications); mStatusBarStateListener = new StatusBarStateListener(mBubbleController); mEntryManager.setStatusBarStateListener(mStatusBarStateListener); Dependency.get(StatusBarStateController.class).addListener(mStatusBarStateListener); Dependency.get(StatusBarStateController.class).addCallback(mStatusBarStateListener); } public void setUpWithPresenter(NotificationPresenter presenter, Loading