summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TYM Tsai <tymtsai@google.com> 2022-07-11 08:14:45 +0000
committer TYM Tsai <tymtsai@google.com> 2022-07-11 08:14:45 +0000
commit140ea8b609d36ccebde136a4fd2f1109fc9352c6 (patch)
treee3e0e5a9886e5720749958542ff086d1e53a7edf
parent9d30d715fce8e8f6d36a4c23369b99900604ae45 (diff)
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
-rw-r--r--services/autofill/java/com/android/server/autofill/ui/AutoFillUI.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/autofill/java/com/android/server/autofill/ui/AutoFillUI.java b/services/autofill/java/com/android/server/autofill/ui/AutoFillUI.java
index 3ab873de4bb5..e07f41204500 100644
--- a/services/autofill/java/com/android/server/autofill/ui/AutoFillUI.java
+++ b/services/autofill/java/com/android/server/autofill/ui/AutoFillUI.java
@@ -439,6 +439,7 @@ public final class AutoFillUI {
log(MetricsEvent.TYPE_DISMISS);
hideFillDialogUiThread(callback);
callback.requestShowSoftInput(focusedId);
+ callback.requestFallbackFromFillDialog();
}
@Override