IpConfigStore: New constructor to accept writer

am: 718df42b23

* commit '718df42b23e7913dad7f9520a2f2c6810c33c956':
  IpConfigStore: New constructor to accept writer
This commit is contained in:
Roshan Pius
2016-02-23 02:19:40 +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,