Fix some PinState bugs.

This commit is contained in:
Greyson Parrelli
2020-04-24 19:40:50 -04:00
parent 575caa53d3
commit cca85bfee3
2 changed files with 13 additions and 0 deletions

View File

@@ -194,6 +194,7 @@ public final class FeatureFlags {
public static boolean pinsForAll() {
return SignalStore.registrationValues().pinWasRequiredAtRegistration() ||
SignalStore.kbsValues().isV2RegistrationLockEnabled() ||
SignalStore.kbsValues().hasPin() ||
pinsForAllMandatory() ||
getValue(PINS_FOR_ALL_LEGACY, false) ||
getValue(PINS_FOR_ALL, false);