diff options
| author | 2022-09-13 20:36:12 +0000 | |
|---|---|---|
| committer | 2022-09-28 20:32:05 +0000 | |
| commit | 8605f83e2888449489b68ab321b13be75827796a (patch) | |
| tree | 373211d2520dd0aa7c38750f3991591a94f9ae2b /libs/androidfw/StringPool.cpp | |
| parent | fdfde64c8287496978a8b7123e11cfaedb626638 (diff) | |
Add AIDL definiton for IInputDeviceBatteryState
Create an AIDL parcelable class to represent the battery state of an
input device.
Instead of separately querying the battery status and capacity from an
app-local implmentation of "InputDeviceBatteryState" that acts as a
"manager", we combine them into one method that queries the battery
state from BatteryController.
Bug: 243005009
Test: atest BatteryControllerTests
Test: atest InputDeviceBatteryListenerTests
Change-Id: I2b77aeca6a2d062c8b04a16e38d3acf6c996c134
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions