OSDN Git Service

Sorting and intrusiveness updates
authorJulia Reynolds <juliacr@google.com>
Tue, 2 May 2017 19:04:34 +0000 (15:04 -0400)
committerJulia Reynolds <juliacr@google.com>
Wed, 3 May 2017 13:45:11 +0000 (09:45 -0400)
commit2445037bb9a98fd00bfa14c5b99b09026e8ffed7
tree22cd9ec20e7dfedac80895f4145bb438914e05ef
parent251894b134a3d1d2bcba5ff9db7e3a4014cd369a
Sorting and intrusiveness updates

- The intrusiveness extractor needs to know about channels
- Allow comparisons by contact affinity even in the min bucket.

Test: cts-verifier, attention management test
Bug: 36197567
Change-Id: I1bb53d758fc2334aad5e380620fc6e39a724195c
services/core/java/com/android/server/notification/NotificationComparator.java
services/core/java/com/android/server/notification/NotificationIntrusivenessExtractor.java