Minor code improvement

This commit is contained in:
Juha Heinanen
2022-01-25 09:15:32 +02:00
parent 54f6b04163
commit 0ccc1751b7
@@ -947,9 +947,8 @@ class BaresipService: Service() {
nb.addAction(R.drawable.ic_stat_delete, "Delete", deletePendingIntent)
nm.notify(MESSAGE_NOTIFICATION_ID, nb.build())
return
} else {
nt.play()
}
nt.play()
val intent = Intent("service event")
intent.flags = Intent.FLAG_ACTIVITY_SINGLE_TOP or Intent.FLAG_ACTIVITY_CLEAR_TOP
intent.putExtra("event", "message show")