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

Catch IllegalStateException for notification

On some Android 4.4 devices, bitmap appear to get recycled sometimes
parent eb40d586
No related branches found
No related tags found
No related merge requests found
......@@ -978,7 +978,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
}
NotificationManagerCompat.from(ctx).notify(3, notification);
}
} catch (IllegalArgumentException e){
} catch (IllegalArgumentException|IllegalStateException e){
// On somme crappy firmwares, shit can happen
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