@@ -348,7 +348,7 @@ class PutExtraWithAESCallback implements FingerprintUiHelper.Callback {
348348 @ Override
349349 public void onAuthenticated (FingerprintManager .AuthenticationResult result ) {
350350 if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .M ) {
351- putExtraWithAES (key , value , mSharedPreferences , showModal , strings , pm , result .getCryptoObject ().getCipher ());
351+ putExtraWithAES (key , value , mSharedPreferences , true , strings , pm , result .getCryptoObject ().getCipher ());
352352 }
353353 }
354354
@@ -390,7 +390,7 @@ public void onAuthenticationHelp(int helpCode, CharSequence helpString) {
390390 public void onAuthenticationSucceeded (FingerprintManager .AuthenticationResult result ) {
391391 super .onAuthenticationSucceeded (result );
392392 if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .M ) {
393- putExtraWithAES (key , value , mSharedPreferences , showModal , strings , pm , result .getCryptoObject ().getCipher ());
393+ putExtraWithAES (key , value , mSharedPreferences , false , strings , pm , result .getCryptoObject ().getCipher ());
394394 }
395395 }
396396 }, null );
@@ -459,7 +459,7 @@ class DecryptWithAesCallback implements FingerprintUiHelper.Callback {
459459 @ Override
460460 public void onAuthenticated (FingerprintManager .AuthenticationResult result ) {
461461 if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .M ) {
462- decryptWithAes (encrypted , showModal , strings , pm , result .getCryptoObject ().getCipher ());
462+ decryptWithAes (encrypted , true , strings , pm , result .getCryptoObject ().getCipher ());
463463 }
464464 }
465465
@@ -501,7 +501,7 @@ public void onAuthenticationHelp(int helpCode, CharSequence helpString) {
501501 public void onAuthenticationSucceeded (FingerprintManager .AuthenticationResult result ) {
502502 super .onAuthenticationSucceeded (result );
503503 if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .M ) {
504- decryptWithAes (encrypted , showModal , strings , pm , result .getCryptoObject ().getCipher ());
504+ decryptWithAes (encrypted , false , strings , pm , result .getCryptoObject ().getCipher ());
505505 }
506506 }
507507 }, null );
0 commit comments