Compare commits

...

2 commits

5 changed files with 12 additions and 16 deletions

View file

@ -6,8 +6,8 @@ plugins {
id 'org.jetbrains.kotlin.android' id 'org.jetbrains.kotlin.android'
} }
def appVersionName = "1.0.0" def appVersionName = "1.0.1"
def appVersionCode = 52000 def appVersionCode = 52001
def packageName = "org.difusephone" def packageName = "org.difusephone"

View file

@ -67,10 +67,6 @@
android:theme="@style/AppTheme" android:theme="@style/AppTheme"
android:allowNativeHeapPointerTagging="false"> android:allowNativeHeapPointerTagging="false">
<meta-data
android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc"/>
<activity android:name=".activities.main.MainActivity" <activity android:name=".activities.main.MainActivity"
android:exported="true" android:exported="true"
android:launchMode="singleTask" android:launchMode="singleTask"

View file

@ -538,9 +538,11 @@ class ConferenceViewModel : ViewModel() {
var foundActivelySpeakingParticipantDevice = false var foundActivelySpeakingParticipantDevice = false
speakingParticipantFound.value = false speakingParticipantFound.value = false
val conferenceInfo = conference.core.findConferenceInformationFromUri( val conferenceInfo = conference.conferenceAddress?.let {
conference.conferenceAddress conference.core.findConferenceInformationFromUri(
) it
)
}
var allSpeaker = true var allSpeaker = true
for (info in conferenceInfo?.participantInfos.orEmpty()) { for (info in conferenceInfo?.participantInfos.orEmpty()) {
if (info.role == Participant.Role.Listener) { if (info.role == Participant.Role.Listener) {

View file

@ -93,9 +93,11 @@ class LinphoneUtils {
fun getConferenceSubject(conference: Conference): String? { fun getConferenceSubject(conference: Conference): String? {
return if (conference.subject.isNullOrEmpty()) { return if (conference.subject.isNullOrEmpty()) {
val conferenceInfo = coreContext.core.findConferenceInformationFromUri( val conferenceInfo = conference.conferenceAddress?.let {
conference.conferenceAddress coreContext.core.findConferenceInformationFromUri(
) it
)
}
if (conferenceInfo != null) { if (conferenceInfo != null) {
conferenceInfo.subject conferenceInfo.subject
} else { } else {

View file

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<automotiveApp>
<uses name="notification" />
</automotiveApp>