OSDN Git Service

Fixed a bug where min-priority were in the middle
authorSelim Cinek <cinek@google.com>
Fri, 26 May 2017 01:30:10 +0000 (18:30 -0700)
committerSelim Cinek <cinek@google.com>
Fri, 26 May 2017 01:44:43 +0000 (01:44 +0000)
commit55a3e738a695d23982eb2e904f47a3435994a325
tree3efa1fb3dfd845f964de0bc9b765a99aefbca22e
parente2975af2d3a5f5e991ee56c46ae970ee992894f3
Fixed a bug where min-priority were in the middle

The recent intrusiveness could elevate min priority notifications
temporarily and the reordering was also blocked while looking at it.
We're now allowing the shade to reorder if a notification updates to
min-priority.

Test: manual, add intrusive notification, update while looking at the shade to min
Change-Id: I75b23a7cbaecc8ae941d6680a924c79371c95991
Fixes: 37515606
packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
packages/SystemUI/src/com/android/systemui/statusbar/notification/VisualStabilityManager.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
services/core/java/com/android/server/notification/RankingHelper.java