Fix inline autofill not working if both afservice and keyboard support

it, but keyboard disabled inline support manually.

Bug: 194434936
Bug: 190097796
Test: atest android.autofillservice.cts.inline
Change-Id: I54d4d76c62edf0258febf3769a9882f03185bc17
This commit is contained in:
Adam He
2021-07-22 13:43:12 -07:00
parent 5cac66cb4e
commit b4f467b8b2

View File

@@ -440,6 +440,7 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
if (!mWaitForInlineRequest || mPendingInlineSuggestionsRequest != null) {
return;
}
mWaitForInlineRequest = inlineSuggestionsRequest != null;
mPendingInlineSuggestionsRequest = inlineSuggestionsRequest;
maybeRequestFillLocked();
viewState.resetState(ViewState.STATE_PENDING_CREATE_INLINE_REQUEST);