mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-05-01 20:36:27 +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)
|
.setContentIntent(intent)
|
||||||
.setWhen(System.currentTimeMillis())
|
.setWhen(System.currentTimeMillis())
|
||||||
.setLargeIcon(contactIcon).getNotification();
|
.setLargeIcon(contactIcon).getNotification();
|
||||||
|
notif.flags |= Notification.FLAG_ONGOING_EVENT;
|
||||||
|
|
||||||
return notif;
|
return notif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -72,6 +72,7 @@ public class ApiSixteenPlus {
|
||||||
.setWhen(System.currentTimeMillis())
|
.setWhen(System.currentTimeMillis())
|
||||||
.setLargeIcon(contactIcon).build();
|
.setLargeIcon(contactIcon).build();
|
||||||
|
|
||||||
|
notif.flags |= Notification.FLAG_ONGOING_EVENT;
|
||||||
return notif;
|
return notif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue