Skip to content

Commit a12dc32

Browse files
committed
Fix related to BigLargeIcon to be set using an Icon
1 parent 6556f96 commit a12dc32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase-messaging/src/main/java/com/google/firebase/messaging/DisplayNotification.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ private void waitForAndApplyImageDownload(
144144
* notification does as well.
145145
*/
146146
n.setLargeIcon(bitmap);
147-
n.setStyle(new BigPictureStyle().bigPicture(bitmap).bigLargeIcon(null));
147+
n.setStyle(new BigPictureStyle().bigPicture(bitmap).bigLargeIcon((bitmap) null));
148148

149149
} catch (ExecutionException e) {
150150
// For all exceptions, fall through to show the notification without the image

0 commit comments

Comments
 (0)