Rotate donor badge flags.

fork-5.53.8
Alex Hart 2021-11-16 16:20:03 -04:00 zatwierdzone przez Cody Henthorne
rodzic e4b9832045
commit 6d3319bfb1
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -84,9 +84,9 @@ public final class FeatureFlags {
private static final String MAX_GROUP_CALL_RING_SIZE = "global.calling.maxGroupCallRingSize";
private static final String GROUP_CALL_RINGING = "android.calling.groupCallRinging";
private static final String CHANGE_NUMBER_ENABLED = "android.changeNumber";
private static final String DONOR_BADGES = "android.donorBadges.3";
private static final String DONOR_BADGES_MEGAPHONE = "android.donorBadges.megaphone";
private static final String DONOR_BADGES_DISPLAY = "android.donorBadges.display";
private static final String DONOR_BADGES = "android.donorBadges.4";
private static final String DONOR_BADGES_MEGAPHONE = "android.donorBadges.megaphone.2";
private static final String DONOR_BADGES_DISPLAY = "android.donorBadges.display.2";
private static final String CDSH = "android.cdsh";
/**
@ -413,7 +413,7 @@ public final class FeatureFlags {
*/
public static boolean donorBadges() {
if (Environment.IS_STAGING) {
return true;
return true;
} else {
return getBoolean(DONOR_BADGES, false ) || SignalStore.donationsValues().getSubscriber() != null;
}