Repair desktop notification on Android 31
* java/org/gnu/emacs/EmacsDesktopNotification.java (display1): Provide FLAG_IMMUTABLE under Android S and later, not just versions of Android after S. (bug#65433)
This commit is contained in:
parent
dc0839de9b
commit
b411761cbb
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB)
|
|||
intent = new Intent (context, EmacsActivity.class);
|
||||
intent.addFlags (Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
|
||||
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.S)
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S)
|
||||
pending = PendingIntent.getActivity (context, 0, intent,
|
||||
PendingIntent.FLAG_IMMUTABLE);
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue