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

Commit 6fb8ee6d authored by Chalard Jean's avatar Chalard Jean Committed by Mark Chien
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
Merged-In: Ibd077bfdd071b9db68064052ecf77b8dfaf8878a
parent 9e83b7ac
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();