mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Fix dismissable incall notification
This commit is contained in:
parent
052fcf3315
commit
e2b8730526
2 changed files with 3 additions and 1 deletions
|
|
@ -84,7 +84,8 @@ public class ApiElevenPlus {
|
|||
.setContentIntent(intent)
|
||||
.setWhen(System.currentTimeMillis())
|
||||
.setLargeIcon(contactIcon).getNotification();
|
||||
|
||||
notif.flags |= Notification.FLAG_ONGOING_EVENT;
|
||||
|
||||
return notif;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ public class ApiSixteenPlus {
|
|||
.setWhen(System.currentTimeMillis())
|
||||
.setLargeIcon(contactIcon).build();
|
||||
|
||||
notif.flags |= Notification.FLAG_ONGOING_EVENT;
|
||||
return notif;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue