mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2026-04-19 10:07:02 +02:00
Finish activity when Autofill Generate is cancelled (#1179)
(cherry picked from commit 03959cca4d)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
5cfa1f165f
commit
7aee68f1fa
|
|
@ -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.
|
||||
|
||||
## [1.13.1] - 2020-10-23
|
||||
|
||||
### Fixed
|
||||
|
|
|
|||
|
|
@ -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