Mute more SocketException

This commit is contained in:
Mygod
2019-01-03 23:51:16 +08:00
parent 615e7256d0
commit 719e8245a7
5 changed files with 6 additions and 10 deletions

View File

@@ -54,7 +54,7 @@ class TetheringFragment : Fragment(), ServiceConnection {
ifaceLookup = try {
NetworkInterface.getNetworkInterfaces().asSequence().associateBy { it.name }
} catch (e: SocketException) {
Timber.d(e)
Timber.w(e)
emptyMap()
}
this@TetheringFragment.enabledTypes =