mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-25 11:20:47 +01:00
Add internal preferences under Advanced behind feature flag.
Initially for GV2 testing.
This commit is contained in:
committed by
Greyson Parrelli
parent
545ba80697
commit
e6a0e5b858
@@ -62,8 +62,8 @@ public final class FeatureFlags {
|
||||
private static final String GROUPS_V2 = "android.groupsv2";
|
||||
private static final String GROUPS_V2_CREATE = "android.groupsv2.create";
|
||||
private static final String GROUPS_V2_CAPACITY = "android.groupsv2.capacity";
|
||||
private static final String GROUPS_V2_INTERNAL_TEST = "android.groupsv2.internalTest";
|
||||
private static final String CDS = "android.cds";
|
||||
private static final String INTERNAL_USER = "android.internalUser";
|
||||
|
||||
/**
|
||||
* We will only store remote values for flags in this set. If you want a flag to be controllable
|
||||
@@ -82,7 +82,7 @@ public final class FeatureFlags {
|
||||
GROUPS_V2,
|
||||
GROUPS_V2_CREATE,
|
||||
GROUPS_V2_CAPACITY,
|
||||
GROUPS_V2_INTERNAL_TEST
|
||||
INTERNAL_USER
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -252,9 +252,9 @@ public final class FeatureFlags {
|
||||
return getInteger(GROUPS_V2_CAPACITY, 100);
|
||||
}
|
||||
|
||||
/** Groups v2 UI for internal testing. */
|
||||
public static boolean groupsV2internalTest() {
|
||||
return groupsV2() && getBoolean(GROUPS_V2_INTERNAL_TEST, false);
|
||||
/** Internal testing extensions. */
|
||||
public static boolean internalUser() {
|
||||
return getBoolean(INTERNAL_USER, false);
|
||||
}
|
||||
|
||||
/** Whether or not to use the new contact discovery service endpoint, which supports UUIDs. */
|
||||
|
||||
Reference in New Issue
Block a user