| Index: chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java b/chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java
|
| index 7e46c67fa36bac2e56f6a235dc63209ca1237342..396eee14bdb9835ecb102e4a099370e6c74a3aab 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java
|
| @@ -83,7 +83,7 @@ public class CastNotificationControl implements MediaRouteController.UiListener,
|
| }
|
| mPosterBitmap = posterBitmap;
|
| if (mNotificationBuilder == null || mMediaRouteController == null) return;
|
| - mNotificationBuilder.setLargeIcon(mMediaRouteController.getPoster());
|
| + mNotificationBuilder.setNotificationLargeIcon(mMediaRouteController.getPoster());
|
| updateNotification();
|
| }
|
|
|
| @@ -106,10 +106,10 @@ public class CastNotificationControl implements MediaRouteController.UiListener,
|
| mNotificationBuilder = new MediaNotificationInfo.Builder()
|
| .setPaused(false)
|
| .setPrivate(false)
|
| - .setIcon(R.drawable.ic_notification_media_route)
|
| + .setNotificationSmallIcon(R.drawable.ic_notification_media_route)
|
| .setContentIntent(contentIntent)
|
| - .setLargeIcon(mMediaRouteController.getPoster())
|
| - .setDefaultLargeIcon(R.drawable.cast_playing_square)
|
| + .setNotificationLargeIcon(mMediaRouteController.getPoster())
|
| + .setDefaultNotificationLargeIcon(R.drawable.cast_playing_square)
|
| .setId(R.id.remote_notification)
|
| .setListener(this);
|
| mState = initialState;
|
| @@ -145,7 +145,7 @@ public class CastNotificationControl implements MediaRouteController.UiListener,
|
| // poster changes.
|
| public void onPosterBitmapChanged() {
|
| if (mNotificationBuilder == null || mMediaRouteController == null) return;
|
| - mNotificationBuilder.setLargeIcon(mMediaRouteController.getPoster());
|
| + mNotificationBuilder.setNotificationLargeIcon(mMediaRouteController.getPoster());
|
| updateNotification();
|
| }
|
|
|
|
|