diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/net/wifi/WifiP2pManagerHelper.kt b/mobile/src/main/java/be/mygod/vpnhotspot/net/wifi/WifiP2pManagerHelper.kt index 49481ddf..9fbc2a7a 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/net/wifi/WifiP2pManagerHelper.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/net/wifi/WifiP2pManagerHelper.kt @@ -56,6 +56,7 @@ object WifiP2pManagerHelper { return result.future.await() } + @SuppressLint("MissingPermission") // this method will fail correctly if permission is missing @RequiresApi(33) suspend fun WifiP2pManager.setVendorElements(c: WifiP2pManager.Channel, ve: List): Int? {