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

Commit 9bac88f1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fixes expired response does not work with augmented autofill" into rvc-dev am: d06ca16b

Change-Id: I59cf2deb51b55c709a1269a6c295cd596feda7c2
parents da8e28d0 d06ca16b
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2588,14 +2588,15 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
                            id)) {
                        // Regular autofill handled the view and returned null response, but it
                        // triggered augmented autofill
                        if (!isSameViewEntered) {
                        if (!isSameViewEntered || mExpiredResponse) {
                            if (sDebug) Slog.d(TAG, "trigger augmented autofill.");
                            triggerAugmentedAutofillLocked(flags);
                        } else {
                            if (sDebug) Slog.d(TAG, "skip augmented autofill for same view.");
                        }
                        return;
                    } else if (mForAugmentedAutofillOnly && isSameViewEntered) {
                    } else if (mForAugmentedAutofillOnly && isSameViewEntered
                            && !mExpiredResponse) {
                        // Regular autofill is disabled.
                        if (sDebug) Slog.d(TAG, "skip augmented autofill for same view.");
                        return;