Yeah right put a @null in there what a great idea

This commit is contained in:
Mygod
2019-01-12 19:27:54 +08:00
parent 1975c12f44
commit f9804fde9f

View File

@@ -34,15 +34,19 @@ enum class TetherType {
val sysRes = Resources.getSystem()
usbRegexes = appRes.getStringArray(sysRes
.getIdentifier("config_tether_usb_regexs", "array", "android"))
.filterNotNull()
.map { it.toPattern() }
wifiRegexes = appRes.getStringArray(sysRes
.getIdentifier("config_tether_wifi_regexs", "array", "android"))
.filterNotNull()
.map { it.toPattern() }
wimaxRegexes = appRes.getStringArray(sysRes
.getIdentifier("config_tether_wimax_regexs", "array", "android"))
.filterNotNull()
.map { it.toPattern() }
bluetoothRegexes = appRes.getStringArray(sysRes
.getIdentifier("config_tether_bluetooth_regexs", "array", "android"))
.filterNotNull()
.map { it.toPattern() }
}