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

Commit ac17049f authored by Chris Wren's avatar Chris Wren Committed by Android (Google) Code Review
Browse files

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

parents 1a1f2498 52020492
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) {