Don't send action suggestion when user starts typing
* the behavior was changed in ag/11362916 causing it to be inconsistent with the dropdown UI. Test: atest android.autofillservice.cts.inline Bug: 156667581 Change-Id: I29b5a2cdfacdeda2d36a488c64e745ea795b01f9
This commit is contained in:
@@ -259,7 +259,7 @@ public final class InlineFillUi {
|
||||
|
||||
final AutofillValue value = dataset.getFieldValues().get(fieldIndex);
|
||||
if (value == null || !value.isText()) {
|
||||
return dataset.getAuthentication() != null;
|
||||
return dataset.getAuthentication() == null;
|
||||
}
|
||||
final String valueText = value.getTextValue().toString().toLowerCase();
|
||||
return valueText.toLowerCase().startsWith(constraintLowerCase);
|
||||
|
||||
Reference in New Issue
Block a user