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

Commit 2256e012 authored by Ye Wen's avatar Ye Wen
Browse files

Call AgingHelper.onNotificationRemoved in Assistant

Test: None
Change-Id: I8a49ad515bc22c0926f9ef61d62c6862622e1213
parent 0b2f7bab
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -286,6 +286,9 @@ public class Assistant extends NotificationAssistantService {
            if (!isForCurrentUser(sbn)) {
                return;
            }

            mAgingHelper.onNotificationRemoved(sbn.getKey());

            boolean updatedImpressions = false;
            String channelId = mLiveNotifications.remove(sbn.getKey()).getChannel().getId();
            String key = getKey(sbn.getPackageName(), sbn.getUserId(), channelId);