Skip to content
Commit a5c1b20f authored by Michael Wachenschwanz's avatar Michael Wachenschwanz
Browse files

Fix MeasureEnergyArray impl array size

getEnergyConsumptionData wrongly set the MeasuredEnergyArray size to the
received EnergyConsumerResult array. Instead the size should be equal to
the number of valid Subsystems added to the array.
Also add BatteryExternalStatsWorkerTest to FrameworkServicesTests

Fixes: 178747292
Test: atest FrameworksServicesTests:BatteryExternalStatsWorkerTest
Change-Id: I43793c7ddf9ff1b1badf478c0d9c3accb1a328d5
parent 71421804
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment