Update deprecated API

(cherry picked from commit 493ee4b)
This commit is contained in:
ezio84 2017-04-11 20:30:24 +02:00 committed by Karim Abou Zeid
commit f433d2a01a

View file

@ -90,10 +90,9 @@ public class PlayingNotificationImpl implements PlayingNotification {
.setPriority(NotificationCompat.PRIORITY_MAX)
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
.setContent(notificationLayout)
.setCustomBigContentView(notificationLayoutBig)
.build();
notification.bigContentView = notificationLayoutBig;
final int bigNotificationImageSize = service.getResources().getDimensionPixelSize(R.dimen.notification_big_image_size);
service.runOnUiThread(new Runnable() {
@Override