summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChris Ye <lzye@google.com>2021-03-24 23:51:10 -0700
committerChris Ye <lzye@google.com>2021-04-28 16:08:39 -0700
commitc9b9464ad88d047d8f9f892ee3f2c0d410726e3a (patch)
tree1e1a24229c7d5faa67686ac3f9f5dfa03ec70fa2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1700fa9e5cbe7fd0ae5ec3f80e49627c16bd0015 (diff)
Rename Battery to BatteryState.
Rename Battery to BatteryState, and rename the method hasBattery to isPresent. Return NaN in getCapacity() if capacity can not be read. Bug: 180733860 Test: atest android.hardware.input.cts.tests Change-Id: I8e855be0b263479c2744b817df5f591c9d1e4a64
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions