Description[Android] Make BatteryStatusManagerTest compilable on M
BatteryStatusManagerTest does not compile on M because of the
changes to the BatteryManager class. This patch introduces
AndroidBatteryManagerWrapper to make the system battery manager
testable on M.
BUG=488690
Committed: https://crrev.com/2f08ccf895d5c96019da0cd6cfea23cb6b34c18f
Cr-Commit-Position: refs/heads/master@{#330723}
Patch Set 1 #Patch Set 2 : fix formatting #Patch Set 3 : remove unused mAndroidBatteryManager field #
Messages
Total messages: 12 (5 generated)
|