mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Inline the sender key feature flag.
This commit is contained in:
@@ -375,11 +375,6 @@ public final class FeatureFlags {
|
||||
return getLong(RETRY_RESPOND_MAX_AGE, TimeUnit.DAYS.toMillis(14));
|
||||
}
|
||||
|
||||
/** Whether or not sending using sender key is enabled. */
|
||||
public static boolean senderKey() {
|
||||
return getBoolean(SENDER_KEY, true);
|
||||
}
|
||||
|
||||
/** How long a sender key can live before it needs to be rotated. */
|
||||
public static long senderKeyMaxAge() {
|
||||
return Math.min(getLong(SENDER_KEY_MAX_AGE, TimeUnit.DAYS.toMillis(14)), TimeUnit.DAYS.toMillis(90));
|
||||
|
||||
Reference in New Issue
Block a user