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

Commit 0df08228 authored by Adam He's avatar Adam He Committed by Svetoslav Ganov
Browse files

Fix delay_save and multiple required fields.

Fixes: 136120151
Test: atest android.autofillservice.cts.SimpleSaveActivityTest#testDelayedSave
Change-Id: Ie0fd8ef0fbb8457fafc7cb5bed30813abaa0b893

Exempt-From-Owner-Approval: Felipe is no longer with the team
parent 9dd0c562
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2929,6 +2929,7 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
            if (sVerbose) {
                Slog.v(TAG, "Adding autofillable view with id " + id + " and state " + state);
            }
            viewState.setCurrentValue(findValueLocked(id));
            mViewStates.put(id, viewState);
        }
        if ((state & ViewState.STATE_AUTOFILLED) != 0) {
+1 −0
Original line number Diff line number Diff line
@@ -227,6 +227,7 @@ final class ViewState {
        if (mVirtualBounds != null) {
            builder.append(", virtualBounds:" ).append(mVirtualBounds);
        }
        builder.append("]");
        return builder.toString();
    }