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)
|
||||
.setCustomContentView(collapsedView)
|
||||
.setOngoing(true)
|
||||
.setUsesChronometer(CallManager.getState() == Call.STATE_ACTIVE)
|
||||
.setChannelId(channelId)
|
||||
.setStyle(NotificationCompat.DecoratedCustomViewStyle())
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue