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

Commit efe038b6 authored by Naina Nalluri's avatar Naina Nalluri
Browse files

Introduce erase modem config api

Introduce erase modem config api

Bug: 140944289
Test: Tested on Device
Change-Id: I55d9d1d84ab48fa494d42c22b0d3ac7657f8c44f
Merged-In: I55d9d1d84ab48fa494d42c22b0d3ac7657f8c44f
parent 44369497
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2318,6 +2318,15 @@ public abstract class Phone extends Handler implements PhoneInternalInterface {
        mCi.nvResetConfig(3 /* factory NV reset */, response);
    }

    /**
     * Perform modem configuration erase. Used for network reset
     *
     * @param response Callback message.
     */
    public void eraseModemConfig(Message response) {
        mCi.nvResetConfig(2 /* erase NV */, response);
    }

    public void notifyDataActivity() {
        mNotifier.notifyDataActivity(this);
    }