mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 10:20:25 +01:00
Disable PIN requirement for new registrations.
This commit is contained in:
@@ -129,6 +129,6 @@ public final class KbsValues {
|
||||
}
|
||||
|
||||
public boolean hasMigratedToPinsForAll() {
|
||||
return store.getString(KEYBOARD_TYPE, null) != null;
|
||||
return store.getString(KEYBOARD_TYPE, null) != null && store.getBoolean(V2_LOCK_ENABLED, false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,8 @@ public final class RegistrationValues {
|
||||
public synchronized void onNewInstall() {
|
||||
store.beginWrite()
|
||||
.putBoolean(REGISTRATION_COMPLETE, false)
|
||||
.putBoolean(PIN_REQUIRED, true)
|
||||
// TODO [greyson] [pins] Maybe re-enable in the future
|
||||
// .putBoolean(PIN_REQUIRED, true)
|
||||
.commit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user