IpConfigStore: New constructor to accept writer am: 718df42b23

am: 0ea54a81df

* commit '0ea54a81df8872418712d11a65333d928f0e29f4':
  IpConfigStore: New constructor to accept writer
This commit is contained in:
Roshan Pius
2016-02-23 02:27:10 +00:00
committed by android-build-merger

View File

@@ -59,8 +59,12 @@ public class IpConfigStore {
protected static final int IPCONFIG_FILE_VERSION = 2;
public IpConfigStore(DelayedDiskWrite writer) {
mWriter = writer;
}
public IpConfigStore() {
mWriter = new DelayedDiskWrite();
this(new DelayedDiskWrite());
}
private boolean writeConfig(DataOutputStream out, int configKey,