From a87fc280816f3c92dc3ee8189471ba247ddbbf6d Mon Sep 17 00:00:00 2001 From: Mygod Date: Sun, 4 Dec 2022 12:59:10 -0500 Subject: [PATCH] Fix lint --- .../src/main/java/be/mygod/vpnhotspot/net/TetheringManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }