Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 701c9e92 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Request the IME to hide current inline suggestion" into rvc-dev am:...

Merge "Request the IME to hide current inline suggestion" into rvc-dev am: 232ffbfe am: b778e53b am: f2bf1af3

Change-Id: I33ace626d327c1fa1d95bb0b03f9eedda94f59b5
parents a1aa0c0f f2bf1af3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ import com.android.internal.os.IResultReceiver;
import com.android.server.autofill.ui.InlineSuggestionFactory;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.CancellationException;
import java.util.concurrent.TimeUnit;
@@ -263,6 +264,8 @@ final class RemoteAugmentedAutofillService
                                            && fieldIds.get(0).equals(focusedId);
                                    client.autofill(sessionId, fieldIds, dataset.getFieldValues(),
                                            hideHighlight);
                                    inlineSuggestionsCallback.apply(new InlineSuggestionsResponse(
                                            Collections.EMPTY_LIST));
                                } catch (RemoteException e) {
                                    Slog.w(TAG, "Encounter exception autofilling the values");
                                }
+2 −0
Original line number Diff line number Diff line
@@ -1228,6 +1228,8 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
            } catch (RemoteException e) {
                Slog.e(TAG, "Error requesting to hide fill UI", e);
            }

            mInlineSessionController.hideInlineSuggestionsUiLocked(id);
        }
    }