summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorzhouwenjie <zhouwenjie@google.com>2018-07-03 16:17:02 -0700
committerzhouwenjie <zhouwenjie@google.com>2018-07-03 16:17:02 -0700
commit8a871d818be8c4b83bc563839dadf5b0994e30ba (patch)
tree879a50c7b95c55a95e97e333cb1bc8d1cd2595b7 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent565aa509524c0d3d078f03088ce19aff2c7bee62 (diff)
Update mMinLearnedBatteryCapacity when necessary.
Currently mMinLearnedBatteryCapacity is only updated once (when it's -1). We check the minimum of mMinLearnedBatteryCapacity and the new chargeFullUah reading but never update mMinLearnedBatteryCapacity to the new value. Bug: 111132682 Test: manual Change-Id: I1680e7a4bdf9176feb2a2dcc9f2c10c829202bda
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions