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

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

Change-Id: I8bcd5f7d301668d7895710b8277be25292456886
This commit is contained in:
Adam He
2021-07-29 19:06:39 +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);