diff --git a/src/main/java/eu/siacs/conversations/services/CallIntegration.java b/src/main/java/eu/siacs/conversations/services/CallIntegration.java index adf03d0b7279d097ac76a54a9fb8dbecfa98b652..99fda67df321874e7f9f48a8efa0e3b66bed19b7 100644 --- a/src/main/java/eu/siacs/conversations/services/CallIntegration.java +++ b/src/main/java/eu/siacs/conversations/services/CallIntegration.java @@ -16,6 +16,7 @@ import android.util.Log; import androidx.annotation.NonNull; import androidx.annotation.RequiresApi; +import com.google.common.base.Strings; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; @@ -30,6 +31,7 @@ import eu.siacs.conversations.xmpp.jingle.Media; import java.util.Arrays; import java.util.Collections; import java.util.List; +import java.util.Locale; import java.util.Set; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; @@ -37,17 +39,28 @@ import java.util.concurrent.atomic.AtomicBoolean; public class CallIntegration extends Connection { /** - * OnePlus 6 (Android 8.1-11) Device is buggy and always starts the OS call screen even though - * we want to be self managed - * - *
Samsung Galaxy Tab A claims to have FEATURE_CONNECTION_SERVICE but then throws + * Samsung Galaxy Tab A claims to have FEATURE_CONNECTION_SERVICE but then throws * SecurityException when invoking placeCall(). Both Stock and LineageOS have this problem. * *
Lenovo Yoga Smart Tab YT-X705F claims to have FEATURE_CONNECTION_SERVICE but throws
* SecurityException
*/
private static final List we are relatively sure that old Oppo devices are broken too. We get reports of 'number not
+ * sent' from Oppo R15x (Android 10)
+ *
+ * OnePlus 6 (Android 8.1-11) Device is buggy and always starts the OS call screen even
+ * though we want to be self managed
+ *
+ * a bunch of OnePlus devices are broken in other ways
+ */
+ private static final List