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
Loading
Please register or sign in to comment