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

Commit 4d5c0b4f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixes sending multiple fill requests to the augmented service"

parents a342e3c8 4123afaf
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -2563,7 +2563,9 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
                    return;
                }

                if ((flags & FLAG_MANUAL_REQUEST) == 0 && mAugmentedAutofillableIds != null
                if (!isSameViewEntered
                        && (flags & FLAG_MANUAL_REQUEST) == 0
                        && mAugmentedAutofillableIds != null
                        && mAugmentedAutofillableIds.contains(id)) {
                    // View was already reported when server could not handle a response, but it
                    // triggered augmented autofill
@@ -2577,13 +2579,6 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState

                requestNewFillResponseOnViewEnteredIfNecessaryLocked(id, viewState, flags);

                // Remove the UI if the ViewState has changed.
                if (!Objects.equals(mCurrentViewId, viewState.id)) {
                    mUi.hideFillUi(this);
                    mCurrentViewId = viewState.id;
                    hideAugmentedAutofillLocked(viewState);
                }

                if (isSameViewEntered) {
                    return;
                }