Disable group calling for API 19.

fork-5.53.8
Greyson Parrelli 2020-12-09 17:42:32 -05:00
rodzic 30fa741365
commit 32a50fcfad
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -1,5 +1,6 @@
package org.thoughtcrime.securesms.util;
import android.os.Build;
import android.text.TextUtils;
import androidx.annotation.NonNull;
@ -229,7 +230,7 @@ public final class FeatureFlags {
/** Whether or not group calling is enabled. */
public static boolean groupCalling() {
return getBoolean(GROUP_CALLING, false);
return Build.VERSION.SDK_INT > 19 && getBoolean(GROUP_CALLING, false);
}
/** Whether or not auto-migration from GV1->GV2 is enabled. */