Commit db816f32 authored by Geoffrey Métais's avatar Geoffrey Métais

Media utils: catch IllegalStateException

parent 8e1cdf32
......@@ -414,6 +414,7 @@ object MediaUtils : CoroutineScope {
} catch (ignored: UnsupportedOperationException) {
} catch (ignored: IllegalArgumentException) {
} catch (ignored: NullPointerException) {
} catch (ignored: IllegalStateException) {
} catch (ignored: SecurityException) {}
fun deletePlaylist(playlist: Playlist) = launch(Dispatchers.IO) { playlist.delete() }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment