OSDN Git Service

Don't prevent notification updates in DOS protection.
authorVladimir Marko <vmarko@google.com>
Wed, 11 Sep 2013 10:13:55 +0000 (11:13 +0100)
committerVladimir Marko <vmarko@google.com>
Tue, 19 May 2015 09:01:11 +0000 (10:01 +0100)
commitd9f4c95b7de877e888d833d192b9ecbf7bd47f81
treef7d3c7dfc6bac0386d1c90a8cf07ab56a407fb9f
parent838a7e50eba73d4e5289ea3975636a0c841bea70
Don't prevent notification updates in DOS protection.

The NotificationManagerService limits the number of
notifications per package+user to 50. Once that limit is
reached, it will refuse new notifications. However, it was
also erroneously refusing updates to existing notifications.

Bug: 5821364
Change-Id: I3aa4be9ad4b288e4a22bf7a64f67521695dfb579
services/core/java/com/android/server/notification/NotificationManagerService.java