Fix incall icon still present after crash and restart.
This commit is contained in:
parent
47f4ed9209
commit
f35953df19
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ public final class LinphoneService extends Service implements LinphoneServiceLis
|
|||
dumpInstalledLinphoneInformation();
|
||||
|
||||
mNM = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
|
||||
mNM.cancel(INCALL_NOTIF_ID); // in case of crash the icon is not removed
|
||||
mNotif = new Notification(R.drawable.status_level, "", System.currentTimeMillis());
|
||||
mNotif.iconLevel=IC_LEVEL_ORANGE;
|
||||
mNotif.flags |= Notification.FLAG_ONGOING_EVENT;
|
||||
|
|
Loading…
Reference in a new issue