mirror of
https://github.com/bitwarden/mobile
synced 2025-12-11 22:03:27 +00:00
add other items to autofill from app page
This commit is contained in:
@@ -169,7 +169,7 @@ namespace Bit.Android
|
||||
return;
|
||||
}
|
||||
|
||||
var items = new List<FilledItem> { new FilledItem(cipher) };
|
||||
var items = new List<FilledItem> { new FilledItem(cipher.CipherModel) };
|
||||
var response = AutofillHelpers.BuildFillResponse(this, parser, items);
|
||||
var replyIntent = new Intent();
|
||||
replyIntent.PutExtra(AutofillManager.ExtraAuthenticationResult, response);
|
||||
@@ -435,6 +435,12 @@ namespace Bit.Android
|
||||
FromAutofillFramework = Intent.GetBooleanExtra("autofillFramework", false)
|
||||
};
|
||||
|
||||
var fillType = Intent.GetIntExtra("autofillFrameworkFillType", 0);
|
||||
if(fillType > 0)
|
||||
{
|
||||
options.FillType = (CipherType)fillType;
|
||||
}
|
||||
|
||||
if(Intent.GetBooleanExtra("autofillFrameworkSave", false))
|
||||
{
|
||||
options.SaveType = (CipherType)Intent.GetIntExtra("autofillFrameworkType", 0);
|
||||
|
||||
Reference in New Issue
Block a user