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

Commit 1c2c8d3c 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...

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

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