When user sets a PIN and try to enter to settings after that and crystal is asking for the PIN and the user enter it correctly, the screen does not disapear

feat_androidx_migration
dtvv 2018-10-05 03:22:25 -05:00
parent ab9df5d786
commit a4819ecd22
1 changed files with 2 additions and 1 deletions

View File

@ -71,7 +71,8 @@ public class PatternRequestActivity extends AppCompatActivity {
public void onComplete(List<PatternLockView.Dot> pattern) {
if (PasswordManager.checkPassword(patternEncrypted,patternToString(pattern))){
if (CrystalSecurityMonitor.getInstance(null).is2ndFactorSet()) {
CrystalSecurityMonitor.getInstance(null).call2ndFactor(thisActivity);
//CrystalSecurityMonitor.getInstance(null).call2ndFactor(thisActivity);
thisActivity.finish();
} else {
thisActivity.finish();
}