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

Commit acd0df65 authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed a heads up crash

Some references to notifications were still
kept around while timing out, leading to small
leaks and sometimes crashes.

Bug: 22819475
Change-Id: I1429b5669366521c6374efbcae6c26d6e407d8cc
parent beb3185f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -452,8 +452,8 @@ public class HeadsUpManager implements ViewTreeObserver.OnComputeInternalInsetsL
            for (NotificationData.Entry entry : mEntriesToRemoveAfterExpand) {
                removeHeadsUpEntry(entry);
            }
            mEntriesToRemoveAfterExpand.clear();
        }
        mEntriesToRemoveAfterExpand.clear();
    }

    public void setTrackingHeadsUp(boolean trackingHeadsUp) {