Update dependencies

This commit is contained in:
Mygod
2020-03-08 06:52:10 +08:00
parent 486e56fd35
commit cf2beb8aac
8 changed files with 56 additions and 49 deletions

View File

@@ -1,6 +1,5 @@
package be.mygod.vpnhotspot.net
import android.annotation.SuppressLint
import android.content.Intent
import android.net.ConnectivityManager
import android.os.Build
@@ -84,7 +83,7 @@ object TetheringManager {
*/
const val TETHERING_BLUETOOTH = 2
private val classOnStartTetheringCallback by lazy @SuppressLint("PrivateApi") {
private val classOnStartTetheringCallback by lazy {
Class.forName("android.net.ConnectivityManager\$OnStartTetheringCallback")
}
private val startTethering by lazy {