mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 10:20:25 +01:00
Add support for an 'About' field on your profile.
This commit is contained in:
@@ -71,7 +71,6 @@ public final class FeatureFlags {
|
||||
private static final String AUTOMATIC_SESSION_INTERVAL = "android.automaticSessionResetInterval";
|
||||
private static final String DEFAULT_MAX_BACKOFF = "android.defaultMaxBackoff";
|
||||
private static final String OKHTTP_AUTOMATIC_RETRY = "android.okhttpAutomaticRetry";
|
||||
private static final String ABOUT = "android.about";
|
||||
private static final String SHARE_SELECTION_LIMIT = "android.share.limit";
|
||||
|
||||
/**
|
||||
@@ -101,7 +100,6 @@ public final class FeatureFlags {
|
||||
AUTOMATIC_SESSION_INTERVAL,
|
||||
DEFAULT_MAX_BACKOFF,
|
||||
OKHTTP_AUTOMATIC_RETRY,
|
||||
ABOUT,
|
||||
SHARE_SELECTION_LIMIT
|
||||
);
|
||||
|
||||
@@ -141,7 +139,6 @@ public final class FeatureFlags {
|
||||
AUTOMATIC_SESSION_INTERVAL,
|
||||
DEFAULT_MAX_BACKOFF,
|
||||
OKHTTP_AUTOMATIC_RETRY,
|
||||
ABOUT,
|
||||
SHARE_SELECTION_LIMIT
|
||||
);
|
||||
|
||||
@@ -327,11 +324,6 @@ public final class FeatureFlags {
|
||||
return getBoolean(OKHTTP_AUTOMATIC_RETRY, false);
|
||||
}
|
||||
|
||||
/** Whether or not the 'About' section of the profile is enabled. */
|
||||
public static boolean about() {
|
||||
return getBoolean(ABOUT, false);
|
||||
}
|
||||
|
||||
/** 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