mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 03:48:08 +00:00
Added missing androidx.media dependency
This commit is contained in:
parent
f6479826ca
commit
548a597843
2 changed files with 6 additions and 6 deletions
|
|
@ -69,13 +69,13 @@ android {
|
|||
|
||||
dependencies {
|
||||
implementation "androidx.annotation:annotation:1.7.0"
|
||||
implementation 'androidx.core:core-ktx:1.10.1'
|
||||
implementation 'androidx.appcompat:appcompat:1.7.0-alpha03'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
||||
implementation 'androidx.core:core-ktx:1.10.1'
|
||||
implementation "androidx.core:core-telecom:1.0.0-alpha01"
|
||||
implementation 'androidx.media:media:1.6.0'
|
||||
implementation 'androidx.recyclerview:recyclerview:1.3.1'
|
||||
implementation "androidx.slidingpanelayout:slidingpanelayout:1.2.0"
|
||||
|
||||
implementation "androidx.core:core-telecom:1.0.0-alpha01"
|
||||
implementation 'androidx.window:window:1.1.0'
|
||||
|
||||
def nav_version = "2.7.2"
|
||||
|
|
|
|||
|
|
@ -193,10 +193,10 @@ class NotificationsManager @MainThread constructor(private val context: Context)
|
|||
val notifiable = getNotifiableForCall(
|
||||
coreContext.core.currentCall ?: coreContext.core.calls.first()
|
||||
)
|
||||
val notif = notificationManager.activeNotifications.find {
|
||||
val notification = notificationManager.activeNotifications.find {
|
||||
it.id == notifiable.notificationId
|
||||
}
|
||||
notif ?: return
|
||||
notification ?: return
|
||||
|
||||
val service = coreService
|
||||
if (service != null) {
|
||||
|
|
@ -205,7 +205,7 @@ class NotificationsManager @MainThread constructor(private val context: Context)
|
|||
try {
|
||||
service.startForeground(
|
||||
notifiable.notificationId,
|
||||
notif.notification,
|
||||
notification.notification,
|
||||
ServiceInfo.FOREGROUND_SERVICE_TYPE_PHONE_CALL
|
||||
or ServiceInfo.FOREGROUND_SERVICE_TYPE_MICROPHONE
|
||||
or ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue