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

Commit 8d916897 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add a note about the behavior of onExpansionChanged." into main

parents e1954918 f8dd6ea4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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)) {