Update deprecated API
(cherry picked from commit 493ee4b)
This commit is contained in:
parent
314ab258d9
commit
f433d2a01a
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue