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

Commit 9b327b14 authored by lyn's avatar lyn
Browse files

Clear bundle children in resetNotifs

Bug: 399736937
Test: manual
Flag: com.android.systemui.notification_bundle_ui
Change-Id: I76322726fa12b95601531a3cf892496359d86533
parent 9a1322a0
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -69,10 +69,13 @@ public class BundleEntry extends PipelineEntry {
        return mUnmodifiableChildren;
    }

    void clearChildren() {
        mChildren.clear();
    }

    /**
     * @return Null because bundles do not have an associated NotificationEntry.
     */

    @Nullable
    @Override
    public NotificationEntry getRepresentativeEntry() {
+1 −1
Original line number Diff line number Diff line
@@ -567,7 +567,7 @@ public class ShadeListBuilder implements Dumpable, PipelineDumpable {

        for (BundleEntry be : mIdToBundleEntry.values()) {
            be.beginNewAttachState();
            // TODO(b/399736937) Clear bundle children
            be.clearChildren();
            // BundleEntry has not representative summary so we do not need to clear it here.
        }
        mNotifList.clear();