Android notifications 当应用程序显示超过4个通知时,Android通知无法正确更新

Android notifications 当应用程序显示超过4个通知时,Android通知无法正确更新,android-notifications,Android Notifications,我的通知代码如下: 创建一个倒计时计时器,它会每秒更新通知。 通知显示的文本是经过的时间“HH:MM:SS” 通知工作正常,直到我显示超过5个通知。有些通知开始延迟。它们在4-5秒后更新或保持不变。 我不明白为什么 this.countDownTimer = new CountDownTimer(NotificationConstant.TOTAL_TIME, NotificationConstant.COUNT_DOWN_INTERVAL) { @Override

我的通知代码如下: 创建一个倒计时计时器,它会每秒更新通知。 通知显示的文本是经过的时间“HH:MM:SS” 通知工作正常,直到我显示超过5个通知。有些通知开始延迟。它们在4-5秒后更新或保持不变。 我不明白为什么

 this.countDownTimer = new CountDownTimer(NotificationConstant.TOTAL_TIME, NotificationConstant.COUNT_DOWN_INTERVAL) {

            @Override
            public void onTick(long millisUntilFinished) {
                NotificationTimer.this.timePass=(System.currentTimeMillis()-NotificationTimer.this.sumArrayList(NotificationTimer.this.startMilliSecondList)+NotificationTimer.this.sumArrayList(NotificationTimer.this.pauseMilliSecondList))/NotificationConstant.COUNT_DOWN_INTERVAL;
                Log.d("time pass:", String.valueOf(NotificationTimer.this.timePass));
                //NotificationTimer.this.notificationBuilder.setContentTitle("Sleeping...");
                NotificationTimer.this.notificationBuilder.setContentText(convertToTimeWithTwoFormat(NotificationTimer.this.timePass));
                NotificationTimer.this.notificationManager.notify(NotificationTimer.this.id, NotificationTimer.this.notificationBuilder.build());
                NotificationTimer.this.broadcastIntent.setAction(TIME_COUNTER_ACTION + NotificationTimer.this.userId+ NotificationTimer.this.notificationType );
                NotificationTimer.this.broadcastIntent.putExtra(TIME_COUNTER_ACTION + NotificationTimer.this.notificationType + NotificationTimer.this.userId, NotificationTimer.this.timePass);
                NotificationTimer.this.context.sendBroadcast(NotificationTimer.this.broadcastIntent);
            }

            @Override
            public void onFinish() {
                ;
            }
        };