mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-17 03:51:03 +01:00
show the call duration at the notification, while active
This commit is contained in:
parent
70466bd1a1
commit
b4d2bdf38d
@ -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…
x
Reference in New Issue
Block a user