diff options
author | Evan Laird <evanlaird@google.com> | 2018-03-08 14:22:06 -0500 |
---|---|---|
committer | Evan Laird <evanlaird@google.com> | 2018-03-08 14:22:06 -0500 |
commit | 9eb4610db728a051b6725d7efb76790e9e1f3520 (patch) | |
tree | 297180f48a7ffa35272b52502722f4c9a6ae36d3 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | e84c506fc3b7cc962fac407f465e46e8a6b969e8 (diff) |
Update battery saver colors to make them more obvious
Use colorError for the plus symbol (when in status bar) and always draw
the fill as colorError when below 15%
Test: turn on systemUI demo mode
adb shell am broadcast -a "com.android.systemui.demo" -e command battery -e plugged false
adb shell am broadcast -a "com.android.systemui.demo" -e command battery -e powersave true
# verify that the plus sign is red
adb shell am broadcast -a "com.android.systemui.demo" -e command battery -e level 15
# verify that the fill color is red and the plus stays red
Change-Id: I9898c3d56372bad822aeff021a470958ed3908a6
Fixes: 71873178
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions