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

Commit 4ae5cf32 authored by Chalard Jean's avatar Chalard Jean
Browse files

Add the package name to setBluetoothTethering

This lets Appops check for permissions correctly.

Bug: 134649258
Test: atest PanServiceTest
      manual test that apps without the requisite permissions
      can't turn on bluetooth tethering

Change-Id: Ibd077bfdd071b9db68064052ecf77b8dfaf8878a
parent da9f1990
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ import android.bluetooth.BluetoothDevice;
interface IBluetoothPan {
    // Public API
    boolean isTetheringOn();
    void setBluetoothTethering(boolean value);
    void setBluetoothTethering(boolean value, String pkgName);
    boolean connect(in BluetoothDevice device);
    boolean disconnect(in BluetoothDevice device);
    List<BluetoothDevice> getConnectedDevices();