summaryrefslogtreecommitdiff
path: root/api/system-current.txt
diff options
context:
space:
mode:
authorNikita Dubrovsky <dubrovsky@google.com>2020-09-18 10:27:14 -0700
committerNikita Dubrovsky <dubrovsky@google.com>2020-10-27 16:16:06 -0700
commit00d2ce0b6facacdf6cabb975afa328a288d5780c (patch)
treee6c03806eff6313948681a5dd99ba89af7fb5edc /api/system-current.txt
parent1086c93f778b68b642b0a5536f23cbbaa0c9787f (diff)
Use a separate code path for rich content in augmented autofill
Image suggestions (and other rich content) are not handled the same way as primitive autofill values. These suggestions are also only applicable to augmented autofill. Therefore, instead of reusing AutofillType and AutofillValue, we use a separate code path to insert rich content. A follow-on change will remove AUTOFILL_TYPE_RICH_CONTENT and the corresponding code on AutofillValue. Bug: 168837034 Test: Manual and unit tests atest CtsAutoFillServiceTestCases:DatasetTest atest CtsAutoFillServiceTestCases:InlineAugmentedAuthTest atest CtsAutoFillServiceTestCases:InlineAugmentedLoginActivityTest Change-Id: I4fa3baf2b545908fc25f3a6e28a7addc7004786b
Diffstat (limited to 'api/system-current.txt')
-rw-r--r--api/system-current.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/system-current.txt b/api/system-current.txt
index f30f756ae3f6..68ec4b28792f 100644
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -10025,6 +10025,7 @@ package android.service.autofill {
public static final class Dataset.Builder {
ctor public Dataset.Builder(@NonNull android.service.autofill.InlinePresentation);
+ method @NonNull public android.service.autofill.Dataset.Builder setContent(@NonNull android.view.autofill.AutofillId, @Nullable android.content.ClipData);
method @NonNull public android.service.autofill.Dataset.Builder setFieldInlinePresentation(@NonNull android.view.autofill.AutofillId, @Nullable android.view.autofill.AutofillValue, @Nullable java.util.regex.Pattern, @NonNull android.service.autofill.InlinePresentation);
}