summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2018-01-09 14:43:06 -0800
committerMakoto Onuki <omakoto@google.com>2018-01-09 14:43:06 -0800
commit965419af5da6900141d66fbccfe96928603aed6c (patch)
treee419d378d8af394c9950cef83b384d7a1eda4a71 /tools/aapt2/java/JavaClassGenerator.cpp
parent229d2cdba3bda2c596c08c3c338880b4499c5a74 (diff)
Cap the low battery threshold at config_lowBatteryWarningLevel (=15)
Currently it doesn't matter because LOW_POWER_MODE_TRIGGER_LEVEL can be 15% at most and config_lowBatteryWarningLevel is 15, but because we'll allow bigger LOW_POWER_MODE_TRIGGER_LEVEL, we don't want to do the low battery warning at a battery level too high. Bug: 71707409 Test: manual test with "dumpsys battery unplug" and "dumpsys battery set level XX" Change-Id: Ibd3646decef243bbed21c148134ab1d3930bea14
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions