Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
eritpchy committed Nov 17, 2023
1 parent 07b0594 commit 0324ffc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
minSdkVersion 14
targetSdkVersion 33
versionCode 30
versionName "4.99.1"
versionName "4.99.2"
buildConfigField "String", "APP_PRODUCT_NAME", "\"FingerprintPay\""
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ private void showUpdatePasswordViewDialog() {

private void updatePassword(DialogInterface passwordInputDialog, final String password) {
Context context = this.getContext();
Toaster.show("password1:" + password);
Config config = Config.from(context);
XFingerprintIdentify fingerprintIdentify = new XFingerprintIdentify(context)
.withEncryptionMode();
Expand All @@ -221,7 +220,6 @@ private void updatePassword(DialogInterface passwordInputDialog, final String pa
@Override
public void onInited(XFingerprintIdentify identify) {
super.onInited(identify);
Toaster.show("password3:" + password);
if (identify.isUsingBiometricApi()) {
ViewUtils.setAlpha(fingerprintVerificationDialog, 0);
}
Expand All @@ -230,7 +228,6 @@ public void onInited(XFingerprintIdentify identify) {
@Override
public void onSucceed(XFingerprintIdentify target, Cipher cipher) {
super.onSucceed(target, cipher);
Toaster.show("password2:" + password);
NotifyUtils.notifyFingerprint(context, Lang.getString(R.id.toast_fingerprint_password_enc_success));
config.setPasswordEncrypted(AESUtils.encrypt(cipher, password));
config.setPasswordIV(AESUtils.byte2hex(cipher.getIV()));
Expand Down

0 comments on commit 0324ffc

Please sign in to comment.