show the call duration at the notification, while active
This commit is contained in:
parent
70466bd1a1
commit
b4d2bdf38d
1 changed files with 1 additions and 0 deletions
|
|
@ -275,6 +275,7 @@ class CallActivity : SimpleActivity() {
|
||||||
.setCategory(Notification.CATEGORY_CALL)
|
.setCategory(Notification.CATEGORY_CALL)
|
||||||
.setCustomContentView(collapsedView)
|
.setCustomContentView(collapsedView)
|
||||||
.setOngoing(true)
|
.setOngoing(true)
|
||||||
|
.setUsesChronometer(CallManager.getState() == Call.STATE_ACTIVE)
|
||||||
.setChannelId(channelId)
|
.setChannelId(channelId)
|
||||||
.setStyle(NotificationCompat.DecoratedCustomViewStyle())
|
.setStyle(NotificationCompat.DecoratedCustomViewStyle())
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue