Remove Group Calling feature flag.

This commit is contained in:
Cody Henthorne
2021-03-23 11:20:07 -04:00
committed by Alex Hart
parent 57fdc1b223
commit 0fc73c3a6f
5 changed files with 15 additions and 24 deletions

View File

@@ -60,7 +60,6 @@ public final class FeatureFlags {
private static final String CLIENT_EXPIRATION = "android.clientExpiration";
public static final String DONATE_MEGAPHONE = "android.donate";
private static final String VIEWED_RECEIPTS = "android.viewed.receipts";
private static final String GROUP_CALLING = "android.groupsv2.calling.2";
private static final String GV1_FORCED_MIGRATE = "android.groupsV1Migration.forced";
private static final String SEND_VIEWED_RECEIPTS = "android.sendViewedReceipts";
private static final String CUSTOM_VIDEO_MUXER = "android.customVideoMuxer";
@@ -91,7 +90,6 @@ public final class FeatureFlags {
DONATE_MEGAPHONE,
VIEWED_RECEIPTS,
GV1_FORCED_MIGRATE,
GROUP_CALLING,
SEND_VIEWED_RECEIPTS,
CUSTOM_VIDEO_MUXER,
CDS_REFRESH_INTERVAL,
@@ -135,7 +133,6 @@ public final class FeatureFlags {
static final Set<String> HOT_SWAPPABLE = SetUtil.newHashSet(
VERIFY_V2,
CLIENT_EXPIRATION,
GROUP_CALLING,
CUSTOM_VIDEO_MUXER,
CDS_REFRESH_INTERVAL,
GROUP_NAME_MAX_LENGTH,
@@ -265,11 +262,6 @@ public final class FeatureFlags {
return getBoolean(VIEWED_RECEIPTS, false);
}
/** Whether or not group calling is enabled. */
public static boolean groupCalling() {
return Build.VERSION.SDK_INT > 19 && getBoolean(GROUP_CALLING, false);
}
/** Whether or not forced migration from GV1->GV2 is enabled. */
public static boolean groupsV1ForcedMigration() {
return getBoolean(GV1_FORCED_MIGRATE, false);