Commit 0088af64 authored by Simon MacDonald's avatar Simon MacDonald
Browse files

Merge pull request #140 from alexislg2/onemessage

Bigview in inbox when only one message
parents 2bfe22b1 74ffb641
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, "");