OSDN Git Service

AOD: Use color filter to invert icons for AOD
authorAdrian Roos <roosa@google.com>
Wed, 8 Mar 2017 23:26:14 +0000 (15:26 -0800)
committerAdrian Roos <roosa@google.com>
Fri, 17 Mar 2017 22:28:01 +0000 (15:28 -0700)
commitcc957752970c05de64272f33176395dfa2840486
tree8623ce82b71eecafe4e64444359587ab644c48ba
parentedfb65bbc4eb0453c91355c9c2277fe5e96b135b
AOD: Use color filter to invert icons for AOD

Fixes an issue where the AOD icons where of different
brightness because they were converted to grayscale and
then inverted. Now we just set the appropriate color filter
instead.

Change-Id: Ic359aaee2e19274670f44c5b7380c636ee26e559
Test: Open AOD, observe that the icons are colored solid white (like the clock) instead of gray.
Fixes: 35850204
packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java
packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java
packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationDozeHelper.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationIconContainer.java