diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/manage/BluetoothTethering.kt b/mobile/src/main/java/be/mygod/vpnhotspot/manage/BluetoothTethering.kt index 3aeba6c3..6ba55ed1 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/manage/BluetoothTethering.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/manage/BluetoothTethering.kt @@ -84,6 +84,8 @@ class BluetoothTethering(context: Context, val stateListener: () -> Unit) : private var pan: BluetoothProfile? = null var activeFailureCause: Throwable? = null /** + * Requires BLUETOOTH_PRIVILEGED on API 30+. + * * Based on: https://android.googlesource.com/platform/packages/apps/Settings/+/78d5efd/src/com/android/settings/TetherSettings.java */ val active: Boolean? get() { diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/net/TetheringManager.kt b/mobile/src/main/java/be/mygod/vpnhotspot/net/TetheringManager.kt index 514a942c..aec8f304 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/net/TetheringManager.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/net/TetheringManager.kt @@ -122,7 +122,7 @@ object TetheringManager { /** * Bluetooth tethering type. * - * Requires BLUETOOTH permission, or BLUETOOTH_PRIVILEGED on API 30+. + * Requires BLUETOOTH permission. * @see [startTethering]. */ @RequiresApi(24)