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

Commit 3ca2ba38 authored by Adam He's avatar Adam He
Browse files

Try augmented autofill if regular autofill is disabled.

Fixes: 134914712
Test: atest android.autofillservice.cts.augmented
Change-Id: I7440bc4a9bff0b62b2625cd5bf24d3e276e4802c
parent fcc4d76a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -569,12 +569,13 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
    @GuardedBy("mLock")
    private void requestNewFillResponseLocked(@NonNull ViewState viewState, int newState,
            int flags) {
        if (mForAugmentedAutofillOnly) {
        if (mForAugmentedAutofillOnly || mRemoteFillService == null) {
            if (sVerbose) {
                Slog.v(TAG, "requestNewFillResponse(): triggering augmented autofill instead "
                        + "(mForAugmentedAutofillOnly=" + mForAugmentedAutofillOnly
                        + ", flags=" + flags + ")");
            }
            mForAugmentedAutofillOnly = true;
            triggerAugmentedAutofillLocked();
            return;
        }