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

Commit f8dd6ea4 authored by Ioana Alexandru's avatar Ioana Alexandru
Browse files

Add a note about the behavior of onExpansionChanged.

Flag: EXEMPT comment-only
Test: N/A
Bug: 388470175
Change-Id: I416bcf2c433667694b8a7dd287cb16dc2b0a678b
parent ebc22c95
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)) {