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
This commit is contained in:
parent
ab9df5d786
commit
a4819ecd22
1 changed files with 2 additions and 1 deletions
|
@ -71,7 +71,8 @@ public class PatternRequestActivity extends AppCompatActivity {
|
||||||
public void onComplete(List<PatternLockView.Dot> pattern) {
|
public void onComplete(List<PatternLockView.Dot> pattern) {
|
||||||
if (PasswordManager.checkPassword(patternEncrypted,patternToString(pattern))){
|
if (PasswordManager.checkPassword(patternEncrypted,patternToString(pattern))){
|
||||||
if (CrystalSecurityMonitor.getInstance(null).is2ndFactorSet()) {
|
if (CrystalSecurityMonitor.getInstance(null).is2ndFactorSet()) {
|
||||||
CrystalSecurityMonitor.getInstance(null).call2ndFactor(thisActivity);
|
//CrystalSecurityMonitor.getInstance(null).call2ndFactor(thisActivity);
|
||||||
|
thisActivity.finish();
|
||||||
} else {
|
} else {
|
||||||
thisActivity.finish();
|
thisActivity.finish();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue