OSDN Git Service

Extracting the notification colors based on the album art
authorSelim Cinek <cinek@google.com>
Thu, 20 Apr 2017 23:55:38 +0000 (16:55 -0700)
committerSelim Cinek <cinek@google.com>
Thu, 27 Apr 2017 19:37:34 +0000 (12:37 -0700)
commitfb49ffc96a724c196fbc3624cca5f7e20e64e10e
treebc20720a5cacf524b43f659548580d627ef8abfb
parent5ba2254df1cb71355efb0a3831581e2f2babcdbe
Extracting the notification colors based on the album art

Media notifications are now extracting the background and
foreground colors from the album art.

Test: manual, play different songs
Bug: 36561228
Change-Id: I9c3c962fa59eb70ef9b2d4893b939be6e1ee1ab0
core/java/android/app/Notification.java
core/java/com/android/internal/util/NotificationColorUtil.java
packages/SystemUI/src/com/android/systemui/statusbar/notification/MediaNotificationProcessor.java [new file with mode: 0644]
packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationInflater.java
packages/SystemUI/tests/Android.mk