Use call's startdate for system notification timestamp

This commit is contained in:
Sylvain Berfini 2025-01-22 11:09:19 +01:00
parent 6a41f7f67d
commit 1ead4d9218

View file

@ -1123,7 +1123,7 @@ class NotificationsManager
} else {
setPriority(NotificationCompat.PRIORITY_HIGH)
}
setWhen(System.currentTimeMillis())
setWhen(call.callLog.startDate * 1000) // Linphone timestamps are in seconds
setAutoCancel(false)
setOngoing(true)
setContentIntent(pendingIntent)