From 2b181673b53e8ce05320957f8955849410f5322d Mon Sep 17 00:00:00 2001 From: Volker Braun Date: Fri, 10 Apr 2020 14:53:47 +0200 Subject: [PATCH] android: arcel the serverURL in the Android SDK In the Android SDK, the setServerURL option is erroneously ignored. The meeting's serverURL always defaults to https://meet.jit.si because the serverURL is not parceled. --- .../java/org/jitsi/meet/sdk/JitsiMeetConferenceOptions.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetConferenceOptions.java b/android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetConferenceOptions.java index f4948e3b5..bfe4482d6 100644 --- a/android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetConferenceOptions.java +++ b/android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetConferenceOptions.java @@ -288,6 +288,7 @@ public class JitsiMeetConferenceOptions implements Parcelable { } private JitsiMeetConferenceOptions(Parcel in) { + serverURL = (URL) in.readSerializable(); room = in.readString(); subject = in.readString(); token = in.readString(); @@ -376,6 +377,7 @@ public class JitsiMeetConferenceOptions implements Parcelable { @Override public void writeToParcel(Parcel dest, int flags) { + dest.writeSerializable(serverURL); dest.writeString(room); dest.writeString(subject); dest.writeString(token);