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

Commit 23c6e078 authored by Christoph Studer's avatar Christoph Studer Committed by Android Git Automerger
Browse files

am eceec528: Merge "NoManService: More efficient notification update"

* commit 'eceec528':
  NoManService: More efficient notification update
parents 6b7961d7 eceec528
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1915,8 +1915,8 @@ public class NotificationManagerService extends SystemService {
                        mNotificationList.add(r);
                        mUsageStats.registerPostedByApp(r);
                    } else {
                        old = mNotificationList.remove(index);
                        mNotificationList.add(index, r);
                        old = mNotificationList.get(index);
                        mNotificationList.set(index, r);
                        mUsageStats.registerUpdatedByApp(r);
                        // Make sure we don't lose the foreground service state.
                        if (old != null) {