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

Commit 70a39a33 authored by Nalla Kartheek's avatar Nalla Kartheek Committed by Gerrit - the friendly Code Review server
Browse files

Wifi: Implement IconnectivityManager.stub function getTetherConnectedSta

Wifi module introduces getTetherConnectedSta in ConnectivityManager.aidl.
This interface method should be implemented in ConnectivityServiceMock to
solve the compilation issue.

Change-Id: Ib7dc8c5fca58f05ea2ff64bdd888f52001468a6f
CRs-Fixed: 1061546
parent 1599cc10
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ import static android.net.NetworkPolicyManager.RULE_ALLOW_ALL;
import static android.net.NetworkPolicyManager.RULE_REJECT_ALL;
import static android.net.NetworkPolicyManager.RULE_REJECT_METERED;

import android.net.wifi.WifiDevice;
import android.annotation.Nullable;
import android.app.AlarmManager;
import android.app.BroadcastOptions;
@@ -622,6 +623,10 @@ public class ConnectivityServiceMock extends IConnectivityManager.Stub
        throw new RuntimeException("not implemented");
    }

    public List<WifiDevice> getTetherConnectedSta() {
        throw new RuntimeException("not implemented");
    }

    public String[] getTetherableIfaces() {
        throw new RuntimeException("not implemented");
    }