Adjust for changing BatteryStats.Uid API

Test: flash the build and go to Settings/Battery
Change-Id: Iaf57d98bde7ac4978bcd71f0772970e1446e845d
This commit is contained in:
Dmitri Plotnikov
2020-07-06 14:25:58 -07:00
parent d59e5f208e
commit e99f810c28

View File

@@ -389,4 +389,9 @@ public class FakeUid extends Uid {
public long[] getScreenOffCpuFreqTimes(int procState, int which) {
return null;
}
@Override
public double getProportionalSystemServiceUsage() {
return 0;
}
}