use Call category for the call notification
This commit is contained in:
parent
c7f5f454ef
commit
b3aa539f52
|
@ -85,8 +85,7 @@ class CallActivity : SimpleActivity() {
|
|||
.setSmallIcon(R.drawable.ic_phone_vector)
|
||||
.setContentIntent(openAppPendingIntent)
|
||||
.setPriority(NotificationCompat.PRIORITY_MAX)
|
||||
.setDefaults(Notification.DEFAULT_LIGHTS)
|
||||
.setCategory(Notification.CATEGORY_EVENT)
|
||||
.setCategory(Notification.CATEGORY_CALL)
|
||||
.setCustomContentView(collapsedView)
|
||||
.setOngoing(true)
|
||||
.setAutoCancel(true)
|
||||
|
|
Loading…
Reference in New Issue