summaryrefslogtreecommitdiff
path: root/services/autofill
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2020-06-03 02:21:48 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-06-03 02:21:48 +0000
commit38e2eb695aca37c8b9786d815af952e8c4ba9657 (patch)
tree10c6164aa947a592d7333a493da3818b4ea2f8ee /services/autofill
parent843f071dba2d92ff04494745f98dc2ff7d3025a1 (diff)
parent5c2f11d4ae183cdd3fa19a43b88bcbd9ec39abc1 (diff)
Merge "When starting new session, make autofill manager service to not clear inline suggestions" into rvc-dev
Diffstat (limited to 'services/autofill')
-rw-r--r--services/autofill/java/com/android/server/autofill/AutofillInlineSessionController.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/services/autofill/java/com/android/server/autofill/AutofillInlineSessionController.java b/services/autofill/java/com/android/server/autofill/AutofillInlineSessionController.java
index e2330ca6ffe9..0ec8654f2a20 100644
--- a/services/autofill/java/com/android/server/autofill/AutofillInlineSessionController.java
+++ b/services/autofill/java/com/android/server/autofill/AutofillInlineSessionController.java
@@ -75,9 +75,7 @@ final class AutofillInlineSessionController {
@NonNull Consumer<InlineSuggestionsRequest> requestConsumer, @NonNull Bundle uiExtras) {
// TODO(b/151123764): rename the method to better reflect what it does.
if (mSession != null) {
- // Send an empty response to IME and destroy the existing session.
- mSession.onInlineSuggestionsResponseLocked(
- InlineFillUi.emptyUi(mSession.getAutofillIdLocked()));
+ // Destroy the existing session.
mSession.destroySessionLocked();
mInlineFillUi = null;
}