mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 14:25:28 +00:00
Use remembered credential even if it is empty (#880)
* Use remembered credential even if it is empty
Should fix #875.
* .isNull() --> == null
* Update relnotes
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Reword relnotes
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* 2019 it is
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
(cherry picked from commit b60c5fb605
)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
committed by
Harsh Shandilya
parent
b5cff71b93
commit
8f7d3052ea
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Remember passphrase option did not work with keys that had empty passphrases and were generated before 2019
|
||||
|
||||
### Added
|
||||
|
||||
- Add GNU IceCatMobile to the list of supported browsers for Autofill
|
||||
|
@@ -67,7 +67,7 @@ private class GitOperationCredentialFinder(val callingActivity: Activity, val co
|
||||
val storedCredential = gitOperationPrefs.getString(credentialPref, null)
|
||||
if (isRetry)
|
||||
gitOperationPrefs.edit { remove(credentialPref) }
|
||||
if (storedCredential.isNullOrEmpty()) {
|
||||
if (storedCredential == null) {
|
||||
val layoutInflater = LayoutInflater.from(callingActivity)
|
||||
|
||||
@SuppressLint("InflateParams")
|
||||
|
Reference in New Issue
Block a user