Merge "Fix inline autofill not working if both afservice and keyboard support it, but keyboard disabled inline support manually." into sc-dev am: e31184cb46 am: 0fe0c2b361

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15362681

Change-Id: I582b1d24b27cb76dc81cc12a79a1f95acc5b8892
This commit is contained in:
Adam He
2021-07-27 19:16:05 +00:00
committed by Automerger Merge Worker

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);