Init lateinit if needed
This commit is contained in:
@@ -58,6 +58,9 @@ enum class TetherType(@DrawableRes val icon: Int) {
|
|||||||
private fun updateRegexs() = synchronized(this) {
|
private fun updateRegexs() = synchronized(this) {
|
||||||
if (!requiresUpdate) return@synchronized
|
if (!requiresUpdate) return@synchronized
|
||||||
requiresUpdate = false
|
requiresUpdate = false
|
||||||
|
usbRegexs = emptyList()
|
||||||
|
wifiRegexs = emptyList()
|
||||||
|
bluetoothRegexs = emptyList()
|
||||||
TetheringManager.registerTetheringEventCallback(null, this)
|
TetheringManager.registerTetheringEventCallback(null, this)
|
||||||
val info = TetheringManager.resolvedService.serviceInfo
|
val info = TetheringManager.resolvedService.serviceInfo
|
||||||
val tethering = "com.android.networkstack.tethering" to
|
val tethering = "com.android.networkstack.tethering" to
|
||||||
|
|||||||
Reference in New Issue
Block a user