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

Commit a20d7bbc authored by Chris Wren's avatar Chris Wren Committed by android-build-merger
Browse files

Merge "don\'t pin ranking updates at the end of the queue." into nyc-dev

am: ac17049f

* commit 'ac17049f':
  don't pin ranking updates at the end of the queue.

Change-Id: Ie391b607055275670f42d6144bf85c0d8b88e833
parents dfa9a55a ac17049f
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -2897,10 +2897,11 @@ public class NotificationManagerService extends SystemService {
    }

    private void scheduleSendRankingUpdate() {
        mHandler.removeMessages(MESSAGE_SEND_RANKING_UPDATE);
        if (!mHandler.hasMessages(MESSAGE_SEND_RANKING_UPDATE)) {
            Message m = Message.obtain(mHandler, MESSAGE_SEND_RANKING_UPDATE);
            mHandler.sendMessage(m);
        }
    }

    private void handleSendRankingUpdate() {
        synchronized (mNotificationList) {