OSDN Git Service

Only foreground notis should be sorted higher
authorJulia Reynolds <juliacr@google.com>
Wed, 12 Apr 2017 16:27:00 +0000 (12:27 -0400)
committerJulia Reynolds <juliacr@google.com>
Thu, 13 Apr 2017 15:03:57 +0000 (11:03 -0400)
commit889280c4c3dde8b9454bf67faf2eab4ff99821b1
tree9652779a3c1f6aedbd78bd1592f92fa033e61b94
parent3a543a1bd2876e1d9b7da706e55594f589d16ec1
Only foreground notis should be sorted higher

Having the ongoing flag is not enough.

Test: runtest systemui-notification
Change-Id: I8a6c15af819f2bb4ad3937ae45d33361663fbe13
services/core/java/com/android/server/notification/NotificationComparator.java
services/tests/notification/src/com/android/server/notification/NotificationComparatorTest.java