summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Shan Huang <shanh@google.com> 2025-02-28 17:06:54 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2025-02-28 17:06:54 -0800
commit339c973833c4cc95dad1982871c98de1b72ce237 (patch)
tree355dd2d0fc1c0dbe147f077f2c14478e788f7b18
parentcbb5b499aa9eb34c312104ba33b7aaa3cbe04d87 (diff)
parent353c85ccbfa689bea433ebcfe9c3ceb49b147dfd (diff)
Merge "Fix crashloop in ExpandableNotificationRow" into main
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java
index 3ef1fd2275a2..e03ca6235421 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java
@@ -1679,7 +1679,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
view.setBackgroundTintColor(color);
}
if (notificationRowTransparency() && mBackgroundNormal != null) {
- if (NotificationBundleUi.isEnabled()) {
+ if (NotificationBundleUi.isEnabled() && mEntryAdapter != null) {
mBackgroundNormal.setBgIsColorized(
usesTransparentBackground() && mEntryAdapter.isColorized());
} else {