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

Commit c39aa673 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

am: a20d7bbc

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

Change-Id: Ib8a5e47abece38151da14c5ba26c367ecbca6a0f
parents c570e003 a20d7bbc
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) {