Skip to content
Snippets Groups Projects
Commit 38063a41 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

PlaybackService: catch notification failure

parent 72fca95d
No related branches found
No related tags found
No related merge requests found
......@@ -685,6 +685,8 @@ class PlaybackService : MediaBrowserServiceCompat(), CoroutineScope, LifecycleOw
Log.e(TAG, "Failed to display notification", e)
} catch (e: IllegalStateException) {
Log.e(TAG, "Failed to display notification", e)
} catch (e: RuntimeException) {
Log.e(TAG, "Failed to display notification", e)
} catch (e: ArrayIndexOutOfBoundsException) {
// Happens on Android 7.0 (Xperia L1 (G3312))
Log.e(TAG, "Failed to display notification", e)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment