OSDN Git Service

Further improved the coloring optimization
authorSelim Cinek <cinek@google.com>
Wed, 25 Jan 2017 22:47:33 +0000 (14:47 -0800)
committerSelim Cinek <cinek@google.com>
Sat, 4 Feb 2017 00:11:51 +0000 (16:11 -0800)
commit99104836083738f9e5e73ab4170879d91de6ba67
tree7bfd959b07bf430e1b2518b6b359cb361270dea2
parentf868efedd5d3a2a0d5b385104a580cbd7f54a63a
Further improved the coloring optimization

Fixes a few follow up bugs from the colorized
notification CL.

This also allows media notifications with a media
session to be colorized by default.

Test: existing tests pass
Bug: 34469375
Change-Id: I36348591a84fcd39d103d0ae3f64720f2fca2cf2
core/java/android/app/Notification.java
core/java/android/view/NotificationHeaderView.java
packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
services/core/java/com/android/server/notification/NotificationComparator.java