Added back largeHeap in Manifest XML file

This commit is contained in:
Sylvain Berfini 2025-12-02 13:26:18 +01:00
parent 3d7442ccde
commit d1d40518c6
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

@ -80,7 +80,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) {
@ -118,9 +118,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 {