diff options
author | Chris Ye <lzye@google.com> | 2021-03-24 23:51:10 -0700 |
---|---|---|
committer | Chris Ye <lzye@google.com> | 2021-04-28 16:08:39 -0700 |
commit | c9b9464ad88d047d8f9f892ee3f2c0d410726e3a (patch) | |
tree | 1e1a24229c7d5faa67686ac3f9f5dfa03ec70fa2 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1700fa9e5cbe7fd0ae5ec3f80e49627c16bd0015 (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