diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 1cf9c42..318fd06 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -12,7 +12,7 @@ android { defaultConfig { applicationId = "org.openvoipalliance.androidplatformintegration" minSdk = 26 - targetSdk = 33 + targetSdk = 34 versionCode = 1 versionName = "1.0" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" diff --git a/pil/build.gradle.kts b/pil/build.gradle.kts index 5abf9e8..ac948a7 100644 --- a/pil/build.gradle.kts +++ b/pil/build.gradle.kts @@ -35,7 +35,7 @@ dependencies { androidTestImplementation("org.mockito:mockito-android:+") androidTestImplementation("androidx.test.ext:junit:1.1.2") androidTestImplementation("androidx.test.espresso:espresso-core:3.3.0") - embed("org.linphone.minimal:linphone-sdk-android:5.3.53") + embed("org.linphone.minimal:linphone-sdk-android:5.3.80") } val sourcesJar by tasks.registering(Jar::class) { diff --git a/pil/src/main/java/org/openvoipalliance/androidphoneintegration/service/NotificationButtonReceiver.kt b/pil/src/main/java/org/openvoipalliance/androidphoneintegration/service/NotificationButtonReceiver.kt index afed2f7..b900aa0 100644 --- a/pil/src/main/java/org/openvoipalliance/androidphoneintegration/service/NotificationButtonReceiver.kt +++ b/pil/src/main/java/org/openvoipalliance/androidphoneintegration/service/NotificationButtonReceiver.kt @@ -20,10 +20,6 @@ internal class NotificationButtonReceiver : BroadcastReceiver() { pil.notifications.dismissStale() - // We need to start the VoIP service here, or we don't have access to the microphone. - // See: https://developer.android.com/guide/components/foreground-services#bg-access-restriction-exemptions - context.startService(Intent(context, VoIPService::class.java)) - try { val action = valueOf(intent.action ?: "")