Loading src/android/Receiver.java +6 −0 Changes for src/android/Receiver.java: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -116,6 +116,7 @@ public class Receiver extends BroadcastReceiver { /** * Erstellt die Notification. */ @SuppressLint("NewApi") private Builder buildNotification () { Bitmap icon = BitmapFactory.decodeResource(context.getResources(), options.getIcon()); Uri sound = options.getSound(); Loading @@ -134,6 +135,11 @@ public class Receiver extends BroadcastReceiver { notification.setSound(sound); } if (Build.VERSION.SDK_INT > 16) { notification.setStyle(new Notification.BigTextStyle() .bigText(options.getMessage())); } setClickEvent(notification); return notification; Loading Loading
src/android/Receiver.java +6 −0 Changes for src/android/Receiver.java: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -116,6 +116,7 @@ public class Receiver extends BroadcastReceiver { /** * Erstellt die Notification. */ @SuppressLint("NewApi") private Builder buildNotification () { Bitmap icon = BitmapFactory.decodeResource(context.getResources(), options.getIcon()); Uri sound = options.getSound(); Loading @@ -134,6 +135,11 @@ public class Receiver extends BroadcastReceiver { notification.setSound(sound); } if (Build.VERSION.SDK_INT > 16) { notification.setStyle(new Notification.BigTextStyle() .bigText(options.getMessage())); } setClickEvent(notification); return notification; Loading