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

Commit ecae893c authored by Steve Elliott's avatar Steve Elliott
Browse files

Recompute bundle bg color onUiModeChanged

Flag: com.android.systemui.notification_bundle_ui
Fixes: 427090431
Test: manual
Change-Id: Ie6cb2642609d62662f041ea1a565f31be68ac099
parent e78eb2fd
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -1734,7 +1734,13 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
    }

    public void onUiModeChanged() {
        if (isBundle()) {
            // If this is a bundle, then `onNotificationUpdated` will not be called as there is no
            // backing notification entry for bundles. So update the background immediately.
            updateBackgroundColorsOfSelf();
        } else {
            mUpdateSelfBackgroundOnUpdate = true;
        }
        reInflateViews();
        if (mChildrenContainer != null) {
            for (ExpandableNotificationRow child : mChildrenContainer.getAttachedChildren()) {