mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-12-01 12:31:45 +00:00
Fixed NullPointerException on some devices
This commit is contained in:
@ -888,7 +888,7 @@ public class PlaybackService extends Service {
|
|||||||
PlaybackService.getPlayerActivityIntent(this),
|
PlaybackService.getPlayerActivityIntent(this),
|
||||||
PendingIntent.FLAG_UPDATE_CURRENT);
|
PendingIntent.FLAG_UPDATE_CURRENT);
|
||||||
|
|
||||||
Bitmap icon = BitmapFactory.decodeResource(null,
|
Bitmap icon = BitmapFactory.decodeResource(getResources(),
|
||||||
R.drawable.ic_stat_antenna);
|
R.drawable.ic_stat_antenna);
|
||||||
notificationBuilder = new NotificationCompat.Builder(this)
|
notificationBuilder = new NotificationCompat.Builder(this)
|
||||||
.setContentTitle(
|
.setContentTitle(
|
||||||
|
|||||||
Reference in New Issue
Block a user