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

Commit fbc32589 authored by Adam He's avatar Adam He Committed by android-build-merger
Browse files

Merge "Reset session for augmented only on manual requests." into qt-dev

am: 2e45d4fb

Change-Id: Ifce0caff4f1646c93b7dbd896b03b85099e056fd
parents 041cb4e2 2e45d4fb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2178,6 +2178,7 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
    private void requestNewFillResponseOnViewEnteredIfNecessaryLocked(@NonNull AutofillId id,
            @NonNull ViewState viewState, int flags) {
        if ((flags & FLAG_MANUAL_REQUEST) != 0) {
            mForAugmentedAutofillOnly = false;
            if (sDebug) Slog.d(TAG, "Re-starting session on view " + id + " and flags " + flags);
            requestNewFillResponseLocked(viewState, ViewState.STATE_RESTARTED_SESSION, flags);
            return;