summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-01-08 07:38:23 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2025-01-08 07:38:23 -0800
commit8d916897e5881289da2aa43a62c49b0e6ba4d2be (patch)
tree2d418be5050577c093e1b8936b6f2756c3a3b6ef
parente1954918ec578c462a255b191265e4fa3fa05996 (diff)
parentf8dd6ea434bf71ddc7b433f8d18f0569f79372bc (diff)
Merge "Add a note about the behavior of onExpansionChanged." into main
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java4
1 files changed, 4 insertions, 0 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 7e3d0043b91a..3866f79ed701 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
@@ -3680,6 +3680,10 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
return super.disallowSingleClick(event);
}
+ // TODO: b/388470175 - Although this does get triggered when a notification
+ // is expanded by the system (e.g. the first notication in the shade), it
+ // will not be when a notification is collapsed by the system (such as when
+ // the shade is closed).
private void onExpansionChanged(boolean userAction, boolean wasExpanded) {
boolean nowExpanded = isExpanded();
if (mIsSummaryWithChildren && (!mIsMinimized || wasExpanded)) {