Commit 74ffb641 authored by Alexis LE GOFF's avatar Alexis LE GOFF
Browse files

big text when only one message in inbox

parent 901569d1
Loading
Loading
Loading
Loading
+7 −0
Changes for src/android/com/adobe/phonegap/push/GCMIntentService.java: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -296,6 +296,13 @@ public class GCMIntentService extends GCMBaseIntentService implements PushConsta
                }

                mBuilder.setStyle(notificationInbox);
            } else {
                NotificationCompat.BigTextStyle bigText = new NotificationCompat.BigTextStyle();
                if (message != null) {
                    bigText.bigText(message);
                    bigText.setBigContentTitle(getString(extras, TITLE));
                    mBuilder.setStyle(bigText);
                }
            }
        } else if (STYLE_PICTURE.equals(style)) {
            setNotification(notId, "");