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 e7ab14c3..a701556f 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/net/TetheringManager.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/net/TetheringManager.kt @@ -198,7 +198,7 @@ object TetheringManager { private val stopTetheringLegacy by lazy { ConnectivityManager::class.java.getDeclaredMethod("stopTethering", Int::class.java) } - private val getLastTetherError by lazy { + private val getLastTetherError by lazy @SuppressLint("SoonBlockedPrivateApi") { ConnectivityManager::class.java.getDeclaredMethod("getLastTetherError", String::class.java) }