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)
|
.setSmallIcon(R.drawable.ic_phone_vector)
|
||||||
.setContentIntent(openAppPendingIntent)
|
.setContentIntent(openAppPendingIntent)
|
||||||
.setPriority(NotificationCompat.PRIORITY_MAX)
|
.setPriority(NotificationCompat.PRIORITY_MAX)
|
||||||
.setDefaults(Notification.DEFAULT_LIGHTS)
|
.setCategory(Notification.CATEGORY_CALL)
|
||||||
.setCategory(Notification.CATEGORY_EVENT)
|
|
||||||
.setCustomContentView(collapsedView)
|
.setCustomContentView(collapsedView)
|
||||||
.setOngoing(true)
|
.setOngoing(true)
|
||||||
.setAutoCancel(true)
|
.setAutoCancel(true)
|
||||||
|
|
Loading…
Reference in New Issue