Disable PIN requirement for new registrations.

This commit is contained in:
Greyson Parrelli
2020-02-19 13:45:49 -05:00
parent 1bae79af5b
commit 5158a15379
4 changed files with 11 additions and 4 deletions

View File

@@ -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);
}
}

View File

@@ -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();
}