commit | 0847acd4d48deb716de99d259364bc99b592a8bc | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Mon Apr 24 19:48:29 2017 -0700 |
committer | Selim Cinek <cinek@google.com> | Thu Apr 27 22:21:50 2017 +0000 |
tree | e3e92446f9bd79615136e982443643e7eb74b460 | |
parent | 5fb73f86299d9cc616ca741f8c7c4af2485cc273 [diff] [blame] |
Implementing gradual image fade for the media template Test: play music Merged-In: I525513ce1da1237c4edad32c0ed31e79d5eacd32 Change-Id: I525513ce1da1237c4edad32c0ed31e79d5eacd32 Fixes: 36561228
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 77fc5e697..6c6dfa4 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationInflater.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationInflater.java
@@ -310,9 +310,10 @@ mSbn.getNotification()); mPackageContext = mSbn.getPackageContext(mContext); Notification notification = mSbn.getNotification(); - if (notification.isColorizedMedia()) { - MediaNotificationProcessor processor = new MediaNotificationProcessor( + if (notification.isMediaNotification()) { + MediaNotificationProcessor processor = new MediaNotificationProcessor(mContext, mPackageContext); + processor.setIsLowPriority(mIsLowPriority); processor.processNotification(notification, recoveredBuilder); } return recoveredBuilder;