OSDN Git Service

Do not colorize bare notification icons in the overflow.
authorDan Sandler <dsandler@android.com>
Thu, 24 Jul 2014 18:00:01 +0000 (14:00 -0400)
committerDan Sandler <dsandler@android.com>
Fri, 25 Jul 2014 13:36:37 +0000 (13:36 +0000)
Change-Id: I3377a7d6024e495172a5ccefde1beaa46ec88283

packages/SystemUI/src/com/android/systemui/statusbar/NotificationOverflowIconsView.java

index ce5ab5a..c75bd28 100644 (file)
@@ -65,13 +65,7 @@ public class NotificationOverflowIconsView extends IconMerger {
     }
 
     private void applyColor(Notification notification, StatusBarIconView view) {
-        if (notification.color == Notification.COLOR_DEFAULT) {
-            if (mNotificationColorUtil.isGrayscale(view.getDrawable())) {
-                view.setColorFilter(mTintColor, PorterDuff.Mode.MULTIPLY);
-            }
-        } else {
-            view.setColorFilter(notification.color, PorterDuff.Mode.SRC_ATOP);
-        }
+        view.setColorFilter(mTintColor, PorterDuff.Mode.MULTIPLY);
     }
 
     private void updateMoreText() {