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

Commit fd0543d8 authored by Lyn Han's avatar Lyn Han Committed by Android (Google) Code Review
Browse files

Merge "Clear bundle children in resetNotifs" into main

parents f66f9e29 9b327b14
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();