Mute SocketException

This commit is contained in:
Mygod
2019-01-06 00:47:53 +08:00
parent 9c0bbf71f6
commit ea9145c2bd
2 changed files with 2 additions and 2 deletions

View File

@@ -144,7 +144,7 @@ class SettingsPreferenceFragment : PreferenceFragmentCompat() {
}
.map { it.name }.sorted().toList().toTypedArray()
} catch (e: SocketException) {
Timber.w(e)
Timber.d(e)
emptyArray<String>()
})
setTargetFragment(this@SettingsPreferenceFragment, 0)