diff options
| author | 2025-02-28 11:54:47 -0800 | |
|---|---|---|
| committer | 2025-02-28 12:39:20 -0800 | |
| commit | 353c85ccbfa689bea433ebcfe9c3ceb49b147dfd (patch) | |
| tree | 2e96f22e62b9dc54fccbbdaf770770de1794b44c | |
| parent | da3c41b2464c2eeffd55a256d20c63120815d031 (diff) | |
Fix crashloop in ExpandableNotificationRow
Bug: 399877678
Test: Manual and Presubmit
Flag: com.android.systemui.notification_row_transparency
Change-Id: Icef56177b41ef71382454528902f7b24781f5468
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java | 2 |
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 { |