Inline the scheduled message feature flag.

This commit is contained in:
Greyson Parrelli
2023-02-14 13:51:16 -05:00
parent dc4eb7911d
commit ca8755c6ad
3 changed files with 19 additions and 31 deletions

View File

@@ -105,7 +105,6 @@ public final class FeatureFlags {
private static final String PAYPAL_ONE_TIME_DONATIONS = "android.oneTimePayPalDonations.2";
private static final String PAYPAL_RECURRING_DONATIONS = "android.recurringPayPalDonations.3";
private static final String TEXT_FORMATTING = "android.textFormatting";
private static final String SCHEDULED_MESSAGE_SENDS = "android.scheduledMessageSends.2";
/**
* We will only store remote values for flags in this set. If you want a flag to be controllable
@@ -161,8 +160,7 @@ public final class FeatureFlags {
CHAT_FILTERS,
PAYPAL_ONE_TIME_DONATIONS,
PAYPAL_RECURRING_DONATIONS,
TEXT_FORMATTING,
SCHEDULED_MESSAGE_SENDS
TEXT_FORMATTING
);
@VisibleForTesting
@@ -576,13 +574,6 @@ public final class FeatureFlags {
return getBoolean(TEXT_FORMATTING, false);
}
/**
* Whether or not we allow the user to schedule message sends. This takes over the entry point for SMS message sends
*/
public static boolean scheduledMessageSends() {
return getBoolean(SCHEDULED_MESSAGE_SENDS, false);
}
/** Only for rendering debug info. */
public static synchronized @NonNull Map<String, Object> getMemoryValues() {
return new TreeMap<>(REMOTE_VALUES);