Only try again paste/set after decryption if the correct password was entered and not e.g. cancel button pressed
This commit is contained in:
parent
02bfcf6c3f
commit
e937ddf111
1 changed files with 3 additions and 1 deletions
|
@ -28,6 +28,8 @@ public class AutofillActivity extends AppCompatActivity {
|
|||
@Override
|
||||
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
|
||||
finish();
|
||||
AutofillService.getService().decryptAndVerify();
|
||||
if (resultCode == RESULT_OK) {
|
||||
AutofillService.getService().decryptAndVerify();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue