Make no button fallback to normal suggestions

When the user click on the "No Thanks" button in the fill dialog,
the dialog should be dismissed and then show up IME and inline
suggestions or dropdown UI.

Bug: 234637123
Test: atest android.autofillservice.cts.dialog.LoginActivityTest
Change-Id: I683b8af21b17b10620a34d579e900d4ad76f9785
This commit is contained in:
TYM Tsai
2022-07-11 08:14:45 +00:00
parent 9d30d715fc
commit 140ea8b609

View File

@@ -439,6 +439,7 @@ public final class AutoFillUI {
log(MetricsEvent.TYPE_DISMISS);
hideFillDialogUiThread(callback);
callback.requestShowSoftInput(focusedId);
callback.requestFallbackFromFillDialog();
}
@Override