Disable group calling for API 19.

This commit is contained in:
Greyson Parrelli
2020-12-09 17:42:32 -05:00
parent 30fa741365
commit 32a50fcfad

View File

@@ -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. */