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
Merged-In: I9c3c962fa59eb70ef9b2d4893b939be6e1ee1ab0
Change-Id: I9c3c962fa59eb70ef9b2d4893b939be6e1ee1ab0
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationInflater.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationInflater.java
index 3bad5cc7..77fc5e697 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationInflater.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationInflater.java
@@ -309,6 +309,12 @@
                         = Notification.Builder.recoverBuilder(mContext,
                         mSbn.getNotification());
                 mPackageContext = mSbn.getPackageContext(mContext);
+                Notification notification = mSbn.getNotification();
+                if (notification.isColorizedMedia()) {
+                    MediaNotificationProcessor processor = new MediaNotificationProcessor(
+                            mPackageContext);
+                    processor.processNotification(notification, recoveredBuilder);
+                }
                 return recoveredBuilder;
             } catch (Exception e) {
                 mError = e;