Skip to content

Commit

Permalink
large-icon -> large_icon (evollu#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-the authored and Libin Lu committed Jan 13, 2017
1 parent d799b1b commit 1782bf1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void sendNotification(Bundle bundle) {
notification.setSmallIcon(smallIconResId);

//large icon
String largeIcon = bundle.getString("large-icon");
String largeIcon = bundle.getString("large_icon");
if(largeIcon != null && android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP){
if (largeIcon.startsWith("http://") || largeIcon.startsWith("https://")) {
Bitmap bitmap = getBitmapFromURL(largeIcon);
Expand Down

0 comments on commit 1782bf1

Please sign in to comment.