Added back largeHeap in Manifest XML file

This commit is contained in:
Sylvain Berfini 2025-12-02 13:26:18 +01:00
parent 3ffda24b82
commit bf4b5a51f5
2 changed files with 4 additions and 3 deletions

View file

@ -54,6 +54,7 @@
android:localeConfig="@xml/locales_config"
android:theme="@style/Theme.Linphone"
android:appCategory="social"
android:largeHeap="true"
tools:targetApi="35">
<!-- Required for chat message & call notifications to be displayed in Android auto -->

View file

@ -79,7 +79,7 @@ class TelecomManager
try {
callsManager.registerAppWithTelecom(
CallsManager.CAPABILITY_BASELINE or
CallsManager.Companion.CAPABILITY_SUPPORTS_VIDEO_CALLING
CallsManager.CAPABILITY_SUPPORTS_VIDEO_CALLING
)
Log.i("$TAG App has been registered with Telecom")
} catch (e: Exception) {
@ -112,9 +112,9 @@ class TelecomManager
val isVideo = LinphoneUtils.isVideoEnabled(call)
val type = if (isVideo) {
CallAttributesCompat.Companion.CALL_TYPE_VIDEO_CALL
CallAttributesCompat.CALL_TYPE_VIDEO_CALL
} else {
CallAttributesCompat.Companion.CALL_TYPE_AUDIO_CALL
CallAttributesCompat.CALL_TYPE_AUDIO_CALL
}
scope.launch {