Finish activity when Autofill Generate is cancelled (#1179)
This commit is contained in:
parent
07b8505fe0
commit
03959cca4d
2 changed files with 7 additions and 1 deletions
|
@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Cancelling the Autofill "Generate password" action now correctly returns you to the original app.
|
||||
|
||||
### Changed
|
||||
|
||||
- Accessibility autofill has been removed completely due to being buggy, insecure and lacking in features. Upgrade to Android 8 or preferably later to gain access to our advanced Autofill implementation.
|
||||
|
|
|
@ -140,8 +140,10 @@ class AutofillSaveActivity : AppCompatActivity() {
|
|||
Intent()
|
||||
}
|
||||
setResult(RESULT_OK, resultIntent)
|
||||
finish()
|
||||
} else {
|
||||
setResult(RESULT_CANCELED)
|
||||
}
|
||||
finish()
|
||||
}.launch(saveIntent)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue