@@ -1183,13 +1183,13 @@ void onNotificationCall(RCConnection connection, HashMap<String, String> customH
11831183 // Need this to show up as Heads-up Notification
11841184 .setPriority (NotificationCompat .PRIORITY_HIGH )
11851185 .setAutoCancel (true ) // cancel notification when user acts on it (Important: only applies to default notification area, not additional actions)
1186- .addAction (R .drawable .ic_videocam_24dp , "" , PendingIntent .getService (getApplicationContext (), 0 , serviceIntentVideo , PendingIntent .FLAG_ONE_SHOT ))
1187- .addAction (R .drawable .ic_call_24dp , "" , PendingIntent .getService (getApplicationContext (), 0 , serviceIntentAudio , PendingIntent .FLAG_ONE_SHOT ))
1188- .addAction (R .drawable .ic_call_end_24dp , "" , PendingIntent .getService (getApplicationContext (), 0 , serviceIntentDecline , PendingIntent .FLAG_ONE_SHOT ))
1186+ .addAction (R .drawable .ic_videocam_24dp , "" , PendingIntent .getService (getApplicationContext (), 0 , serviceIntentVideo , PendingIntent .FLAG_UPDATE_CURRENT ))
1187+ .addAction (R .drawable .ic_call_24dp , "" , PendingIntent .getService (getApplicationContext (), 0 , serviceIntentAudio , PendingIntent .FLAG_UPDATE_CURRENT ))
1188+ .addAction (R .drawable .ic_call_end_24dp , "" , PendingIntent .getService (getApplicationContext (), 0 , serviceIntentDecline , PendingIntent .FLAG_UPDATE_CURRENT ))
11891189 .setVibrate (notificationVibrationPattern )
11901190 .setLights (notificationColor , notificationColorPattern [0 ], notificationColorPattern [1 ])
1191- .setContentIntent (PendingIntent .getService (getApplicationContext (), 0 , serviceIntentDefault , PendingIntent .FLAG_ONE_SHOT ))
1192- .setDeleteIntent (PendingIntent .getService (getApplicationContext (), 0 , serviceIntentDelete , PendingIntent .FLAG_ONE_SHOT ));
1191+ .setContentIntent (PendingIntent .getService (getApplicationContext (), 0 , serviceIntentDefault , PendingIntent .FLAG_UPDATE_CURRENT ))
1192+ .setDeleteIntent (PendingIntent .getService (getApplicationContext (), 0 , serviceIntentDelete , PendingIntent .FLAG_UPDATE_CURRENT ));
11931193
11941194 Notification notification = builder .build ();
11951195 // Add FLAG_INSISTENT so that the notification rings repeatedly (FLAG_INSISTENT is not exposed via builder, let's add manually)
0 commit comments