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

Commit 83d03005 authored by Erik Kline's avatar Erik Kline Committed by android-build-merger
Browse files

Merge "Make tetherChangePermission to be secured for AppOps permission" am: ad9c0373

am: 8e731082

Change-Id: I103568f95af057e8d4b38f9c94a1f154f346d70a
parents 0369a0ea 8e731082
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");
    }