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

Commit ad9c0373 authored by Erik Kline's avatar Erik Kline Committed by Gerrit Code Review
Browse files

Merge "Make tetherChangePermission to be secured for AppOps permission"

parents f2f15eb1 2eaa4816
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -522,11 +522,11 @@ public class ConnectivityServiceMock extends IConnectivityManager.Stub
        throw new RuntimeException("not implemented");
    }

    public int tether(String iface) {
    public int tether(String iface, String callerPkg) {
        throw new RuntimeException("not implemented");
    }

    public int untether(String iface) {
    public int untether(String iface, String callerPkg) {
        throw new RuntimeException("not implemented");
    }

@@ -546,7 +546,7 @@ public class ConnectivityServiceMock extends IConnectivityManager.Stub
        throw new RuntimeException("not implemented");
    }

    public int setUsbTethering(boolean enable) {
    public int setUsbTethering(boolean enable, String callerPkg) {
        throw new RuntimeException("not implemented");
    }

@@ -572,12 +572,13 @@ public class ConnectivityServiceMock extends IConnectivityManager.Stub
    }

    @Override
    public void startTethering(int type, ResultReceiver receiver, boolean showProvisioningUi) {
    public void startTethering(int type, ResultReceiver receiver, boolean showProvisioningUi,
            String callerPkg) {
        throw new RuntimeException("not implemented");
    }

    @Override
    public void stopTethering(int type) {
    public void stopTethering(int type, String callerPkg) {
        throw new RuntimeException("not implemented");
    }