|
@@ -82,7 +82,7 @@ class OngoingNotification {
|
82
|
82
|
}
|
83
|
83
|
|
84
|
84
|
Intent notificationIntent = new Intent(context, context.getClass());
|
85
|
|
- PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, notificationIntent, 0);
|
|
85
|
+ PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, notificationIntent, PendingIntent.FLAG_IMMUTABLE);
|
86
|
86
|
|
87
|
87
|
NotificationCompat.Builder builder = new NotificationCompat.Builder(context, ONGOING_CONFERENCE_CHANNEL_ID);
|
88
|
88
|
|
|
@@ -125,7 +125,7 @@ class OngoingNotification {
|
125
|
125
|
Intent intent = new Intent(context, JitsiMeetOngoingConferenceService.class);
|
126
|
126
|
intent.setAction(action.getName());
|
127
|
127
|
PendingIntent pendingIntent
|
128
|
|
- = PendingIntent.getService(context, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);
|
|
128
|
+ = PendingIntent.getService(context, 0, intent, PendingIntent.FLAG_IMMUTABLE);
|
129
|
129
|
String title = context.getString(titleId);
|
130
|
130
|
return new NotificationCompat.Action(0, title, pendingIntent);
|
131
|
131
|
}
|