Merge "Prevent concurrent modification of battery history in tests" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5c6c582940
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user