Respect encrypted username when filling Autofill generated entry
This commit is contained in:
parent
d6db10e089
commit
5a3220527f
1 changed files with 3 additions and 4 deletions
|
@ -609,10 +609,9 @@ class PgpActivity : AppCompatActivity(), OpenPgpServiceConnection.OnBound {
|
||||||
AutofillPreferences.directoryStructure(applicationContext)
|
AutofillPreferences.directoryStructure(applicationContext)
|
||||||
val entry = PasswordEntry(content)
|
val entry = PasswordEntry(content)
|
||||||
returnIntent.putExtra("PASSWORD", entry.password)
|
returnIntent.putExtra("PASSWORD", entry.password)
|
||||||
returnIntent.putExtra(
|
val username = PasswordEntry(content).username
|
||||||
"USERNAME",
|
?: directoryStructure.getUsernameFor(file)
|
||||||
directoryStructure.getUsernameFor(file)
|
returnIntent.putExtra("USERNAME", username)
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setResult(RESULT_OK, returnIntent)
|
setResult(RESULT_OK, returnIntent)
|
||||||
|
|
Loading…
Reference in a new issue