Remove most of Conversation Fragment V1 and friends.

This commit is contained in:
Cody Henthorne
2023-08-02 12:35:42 -04:00
committed by Greyson Parrelli
parent 9c49c84306
commit 67b8f468e4
39 changed files with 187 additions and 9408 deletions

View File

@@ -107,7 +107,6 @@ public final class FeatureFlags {
private static final String MAX_ATTACHMENT_SIZE_BYTES = "global.attachments.maxBytes";
private static final String SVR2_KILLSWITCH = "android.svr2.killSwitch";
private static final String CDS_DISABLE_COMPAT_MODE = "cds.disableCompatibilityMode";
private static final String CONVERSATION_FRAGMENT_V2 = "android.conversationFragmentV2.2";
private static final String FCM_MAY_HAVE_MESSAGES_KILL_SWITCH = "android.fcmNotificationFallbackKillSwitch";
private static final String SAFETY_NUMBER_ACI = "global.safetyNumberAci";
@@ -169,7 +168,6 @@ public final class FeatureFlags {
AD_HOC_CALLING,
SVR2_KILLSWITCH,
CDS_DISABLE_COMPAT_MODE,
CONVERSATION_FRAGMENT_V2,
SAFETY_NUMBER_ACI,
FCM_MAY_HAVE_MESSAGES_KILL_SWITCH
);
@@ -237,7 +235,6 @@ public final class FeatureFlags {
MAX_ATTACHMENT_SIZE_BYTES,
SVR2_KILLSWITCH,
CDS_DISABLE_COMPAT_MODE,
CONVERSATION_FRAGMENT_V2,
SAFETY_NUMBER_ACI,
FCM_MAY_HAVE_MESSAGES_KILL_SWITCH
);
@@ -621,11 +618,6 @@ public final class FeatureFlags {
}
}
/** True if the new conversation fragment should be used. */
public static boolean useConversationFragmentV2() {
return getBoolean(CONVERSATION_FRAGMENT_V2, false);
}
/** Only for rendering debug info. */
public static synchronized @NonNull Map<String, Object> getMemoryValues() {
return new TreeMap<>(REMOTE_VALUES);