diff options
Diffstat (limited to 'java')
| -rw-r--r-- | java/org/gnu/emacs/EmacsDesktopNotification.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/org/gnu/emacs/EmacsDesktopNotification.java b/java/org/gnu/emacs/EmacsDesktopNotification.java index c6ebbc6ae48..121d8f481a2 100644 --- a/java/org/gnu/emacs/EmacsDesktopNotification.java +++ b/java/org/gnu/emacs/EmacsDesktopNotification.java | |||
| @@ -144,7 +144,7 @@ public final class EmacsDesktopNotification | |||
| 144 | intent = new Intent (context, EmacsActivity.class); | 144 | intent = new Intent (context, EmacsActivity.class); |
| 145 | intent.addFlags (Intent.FLAG_ACTIVITY_NEW_TASK); | 145 | intent.addFlags (Intent.FLAG_ACTIVITY_NEW_TASK); |
| 146 | 146 | ||
| 147 | if (Build.VERSION.SDK_INT > Build.VERSION_CODES.S) | 147 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) |
| 148 | pending = PendingIntent.getActivity (context, 0, intent, | 148 | pending = PendingIntent.getActivity (context, 0, intent, |
| 149 | PendingIntent.FLAG_IMMUTABLE); | 149 | PendingIntent.FLAG_IMMUTABLE); |
| 150 | else | 150 | else |