Merge "Prevent concurrent modification of battery history in tests" into udc-dev

This commit is contained in:
TreeHugger Robot
2023-02-24 21:24:35 +00:00
committed by Android (Google) Code Review

View File

@@ -231,6 +231,10 @@ public class MockBatteryStatsImpl extends BatteryStatsImpl {
setExternalStatsSyncLocked(mExternalStatsSync);
}
@Override
public void writeSyncLocked() {
}
public static class DummyExternalStatsSync implements ExternalStatsSync {
public int flags = 0;