Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0ea54a81 authored by Roshan Pius's avatar Roshan Pius Committed by android-build-merger
Browse files

IpConfigStore: New constructor to accept writer

am: 718df42b

* commit '718df42b':
  IpConfigStore: New constructor to accept writer
parents f5725e65 718df42b
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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,