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'
}
def appVersionName = "1.0.0"
def appVersionCode = 52000
def appVersionName = "1.0.1"
def appVersionCode = 52001
def packageName = "org.difusephone"

View file

@ -67,10 +67,6 @@
android:theme="@style/AppTheme"
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"
android:exported="true"
android:launchMode="singleTask"

View file

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

View file

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

View file

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