minor changes due to sdk 26 requirements

This commit is contained in:
Juha Heinanen
2018-06-30 20:26:18 +03:00
parent 1ab5b6fe5e
commit 0c68c92a70
2 changed files with 2 additions and 2 deletions
@@ -177,7 +177,7 @@ class BaresipService: Service() {
snb.setVisibility(VISIBILITY_PUBLIC)
.setSmallIcon(R.drawable.ic_stat)
.setContentIntent(npi)
.setPriority(Notification.PRIORITY_HIGH)
.setPriority(NotificationManager.IMPORTANCE_HIGH)
.setOngoing(true)
.setContent(RemoteViews(packageName, R.layout.status_notification))
if (RUN_FOREGROUNG)