mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Re-enable and clean up Signal PINs.
- Require PINs during registration agian. - Change min length to 4. - Allow the full-screen megaphone to be enabled remotely. - Clean up and remove some code.
This commit is contained in:
@@ -41,12 +41,8 @@ public final class RegistrationCompleteFragment extends BaseRegistrationFragment
|
||||
|
||||
profile.putExtra(EditProfileActivity.SHOW_TOOLBAR, false);
|
||||
|
||||
if (PinUtil.shouldShowPinCreationDuringRegistration(requireContext())) {
|
||||
Intent kbs = CreateKbsPinActivity.getIntentForPinCreate(requireContext());
|
||||
activity.startActivity(chainIntents(chainIntents(profile, kbs), main));
|
||||
} else {
|
||||
activity.startActivity(chainIntents(profile, main));
|
||||
}
|
||||
Intent kbs = CreateKbsPinActivity.getIntentForPinCreate(requireContext());
|
||||
activity.startActivity(chainIntents(chainIntents(profile, kbs), main));
|
||||
}
|
||||
|
||||
activity.finish();
|
||||
|
||||
@@ -303,7 +303,7 @@ public final class RegistrationLockFragment extends BaseRegistrationFragment {
|
||||
}
|
||||
|
||||
private void handleSuccessfulPinEntry() {
|
||||
SignalStore.kbsValues().setKeyboardType(getPinEntryKeyboardType());
|
||||
SignalStore.pinValues().setKeyboardType(getPinEntryKeyboardType());
|
||||
|
||||
if (FeatureFlags.storageServiceRestore()) {
|
||||
long startTime = System.currentTimeMillis();
|
||||
|
||||
Reference in New Issue
Block a user