Skip to content

Commit 0a36c34

Browse files
authored
Fix related to BigLargeIcon to be set using an Icon (#4646)
* Fix related to BigLargeIcon to be set using an Icon * Fix related to BigLargeIcon to be set using an Icon * Fix related to BigLargeIcon to be set using an Icon
1 parent 881628d commit 0a36c34

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

firebase-messaging/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Unreleased
2-
2+
* [fixed] Fix a breakage related to Jetpack core library related to [upstream update](https://android-review.googlesource.com/c/platform/frameworks/support/+/2399893)
33

44
# 23.1.1
55
* [fixed] Fixed deadlock when handling simultaneous messages.

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)