OSDN Git Service

AOD: Increase alpha values when dozing
authorAdrian Roos <roosa@google.com>
Mon, 17 Jul 2017 15:09:39 +0000 (17:09 +0200)
committerAdrian Roos <roosa@google.com>
Tue, 25 Jul 2017 16:31:26 +0000 (16:31 +0000)
commitc3e8cfcb196f2dedd2a9ab88504c7825657993d9
tree9dda209885cd05099377a99e3b0e5fc9da8b9618
parentf54dbc525397fa20ba2c9512c8424c2dd8c7f03e
AOD: Increase alpha values when dozing

Fixes an issue where notification icons would show weirdly because
the low-power mode for AOD shows <50% white as black. As a workaround
we boost alpha such that >30% white shows as 50% white and thus is
still visible as full white on AOD.

Change-Id: Ida873b97be191e5d75d6029054ba5b931726ce4f
Fixes: 63742595
Test: Disconnect from wifi to trigger the "wifi networks available" notification. Make sure its icon shows properly on AOD1.
packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java