mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Update MobileCoin Payments Beta country codes.
This commit is contained in:
@@ -3,6 +3,7 @@ package org.thoughtcrime.securesms.util;
|
||||
import android.text.TextUtils;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
import androidx.annotation.WorkerThread;
|
||||
|
||||
@@ -88,6 +89,7 @@ public final class FeatureFlags {
|
||||
private static final String DONOR_BADGES_MEGAPHONE = "android.donorBadges.megaphone";
|
||||
private static final String DONOR_BADGES_DISPLAY = "android.donorBadges.display";
|
||||
private static final String CDSH = "android.cdsh";
|
||||
private static final String MOBILECOIN_BLACKLIST = "android.mobilecoin.blacklist";
|
||||
|
||||
/**
|
||||
* We will only store remote values for flags in this set. If you want a flag to be controllable
|
||||
@@ -128,7 +130,8 @@ public final class FeatureFlags {
|
||||
SENDER_KEY_MAX_AGE,
|
||||
DONOR_BADGES,
|
||||
DONOR_BADGES_MEGAPHONE,
|
||||
DONOR_BADGES_DISPLAY
|
||||
DONOR_BADGES_DISPLAY,
|
||||
MOBILECOIN_BLACKLIST
|
||||
);
|
||||
|
||||
@VisibleForTesting
|
||||
@@ -434,6 +437,10 @@ public final class FeatureFlags {
|
||||
return Environment.IS_STAGING && getBoolean(CDSH, false);
|
||||
}
|
||||
|
||||
public static @Nullable String mobileCoinBlacklist() {
|
||||
return getString(MOBILECOIN_BLACKLIST, null);
|
||||
}
|
||||
|
||||
/** Only for rendering debug info. */
|
||||
public static synchronized @NonNull Map<String, Object> getMemoryValues() {
|
||||
return new TreeMap<>(REMOTE_VALUES);
|
||||
|
||||
Reference in New Issue
Block a user