diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2020-06-03 02:21:48 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-06-03 02:21:48 +0000 |
commit | 38e2eb695aca37c8b9786d815af952e8c4ba9657 (patch) | |
tree | 10c6164aa947a592d7333a493da3818b4ea2f8ee | |
parent | 843f071dba2d92ff04494745f98dc2ff7d3025a1 (diff) | |
parent | 5c2f11d4ae183cdd3fa19a43b88bcbd9ec39abc1 (diff) |
Merge "When starting new session, make autofill manager service to not clear inline suggestions" into rvc-dev
-rw-r--r-- | services/autofill/java/com/android/server/autofill/AutofillInlineSessionController.java | 4 |
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; } |