Loading packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java +0 −4 Original line number Diff line number Diff line Loading @@ -1002,10 +1002,6 @@ public class NotificationShelf extends ActivatableNotificationView implements return false; } public void onUiModeChanged() { updateBackgroundColors(); } public void setController(NotificationShelfController notificationShelfController) { mController = notificationShelfController; } Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ActivatableNotificationView.java +4 −1 Original line number Diff line number Diff line Loading @@ -191,7 +191,10 @@ public abstract class ActivatableNotificationView extends ExpandableOutlineView initDimens(); } protected void updateBackgroundColors() { /** * Reload background colors from resources and invalidate views. */ public void updateBackgroundColors() { updateColors(); initBackground(); updateBackgroundTint(); Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +6 −1 Original line number Diff line number Diff line Loading @@ -626,7 +626,12 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable mBgColor = Utils.getColorAttr(mContext, android.R.attr.colorBackgroundFloating) .getDefaultColor(); updateBackgroundDimming(); mShelf.onUiModeChanged(); for (int i = 0; i < getChildCount(); i++) { View child = getChildAt(i); if (child instanceof ActivatableNotificationView) { ((ActivatableNotificationView) child).updateBackgroundColors(); } } } @ShadeViewRefactor(RefactorComponent.DECORATOR) Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayoutController.java +1 −0 Original line number Diff line number Diff line Loading @@ -223,6 +223,7 @@ public class NotificationStackScrollLayoutController { updateShowEmptyShadeView(); mView.updateCornerRadius(); mView.updateBgColor(); mView.updateDecorViews(); mView.reinflateViews(); } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java +0 −4 Original line number Diff line number Diff line Loading @@ -1002,10 +1002,6 @@ public class NotificationShelf extends ActivatableNotificationView implements return false; } public void onUiModeChanged() { updateBackgroundColors(); } public void setController(NotificationShelfController notificationShelfController) { mController = notificationShelfController; } Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ActivatableNotificationView.java +4 −1 Original line number Diff line number Diff line Loading @@ -191,7 +191,10 @@ public abstract class ActivatableNotificationView extends ExpandableOutlineView initDimens(); } protected void updateBackgroundColors() { /** * Reload background colors from resources and invalidate views. */ public void updateBackgroundColors() { updateColors(); initBackground(); updateBackgroundTint(); Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +6 −1 Original line number Diff line number Diff line Loading @@ -626,7 +626,12 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable mBgColor = Utils.getColorAttr(mContext, android.R.attr.colorBackgroundFloating) .getDefaultColor(); updateBackgroundDimming(); mShelf.onUiModeChanged(); for (int i = 0; i < getChildCount(); i++) { View child = getChildAt(i); if (child instanceof ActivatableNotificationView) { ((ActivatableNotificationView) child).updateBackgroundColors(); } } } @ShadeViewRefactor(RefactorComponent.DECORATOR) Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayoutController.java +1 −0 Original line number Diff line number Diff line Loading @@ -223,6 +223,7 @@ public class NotificationStackScrollLayoutController { updateShowEmptyShadeView(); mView.updateCornerRadius(); mView.updateBgColor(); mView.updateDecorViews(); mView.reinflateViews(); } Loading