minor
This commit is contained in:
parent
1d9d699998
commit
f154278bf9
2 changed files with 3 additions and 3 deletions
|
@ -55,7 +55,7 @@ class StorageHandler(private val context: Context) : MethodCallHandler {
|
|||
)
|
||||
)
|
||||
}
|
||||
} catch (e: IllegalArgumentException) {
|
||||
} catch (e: Exception) {
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
|
@ -80,7 +80,7 @@ class StorageHandler(private val context: Context) : MethodCallHandler {
|
|||
"state" to EnvironmentCompat.getStorageState(volumeFile)
|
||||
)
|
||||
)
|
||||
} catch (e: IllegalArgumentException) {
|
||||
} catch (e: Exception) {
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
|
|
|
@ -290,7 +290,7 @@ object StorageUtils {
|
|||
if (volume != null && uuid.equals(volume.uuid, ignoreCase = true)) {
|
||||
return volumePath
|
||||
}
|
||||
} catch (e: IllegalArgumentException) {
|
||||
} catch (e: Exception) {
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue