Fixed NullPointerException on some devices

This commit is contained in:
daniel oeh 2012-10-22 22:06:58 +02:00
parent 3c54910ce4
commit 0884b0bf80
1 changed files with 1 additions and 1 deletions

View File

@ -888,7 +888,7 @@ public class PlaybackService extends Service {
PlaybackService.getPlayerActivityIntent(this),
PendingIntent.FLAG_UPDATE_CURRENT);
Bitmap icon = BitmapFactory.decodeResource(null,
Bitmap icon = BitmapFactory.decodeResource(getResources(),
R.drawable.ic_stat_antenna);
notificationBuilder = new NotificationCompat.Builder(this)
.setContentTitle(