diff options
Diffstat (limited to 'Utils/src/com/googlecode/android_scripting/Log.java')
-rw-r--r-- | Utils/src/com/googlecode/android_scripting/Log.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Utils/src/com/googlecode/android_scripting/Log.java b/Utils/src/com/googlecode/android_scripting/Log.java index b3ad6c35..775d67ec 100644 --- a/Utils/src/com/googlecode/android_scripting/Log.java +++ b/Utils/src/com/googlecode/android_scripting/Log.java @@ -74,7 +74,8 @@ public class Log { .setWhen(0) .setContentTitle(contentTitle) .setContentText(message) - .setContentIntent(PendingIntent.getService(context, 0, null, 0)); + .setContentIntent(PendingIntent.getService(context, 0, null, + PendingIntent.FLAG_IMMUTABLE)); Notification note = builder.build(); note.contentView.getLayoutId(); notificationManager.notify(NotificationIdFactory.create(), note); |