diff --git a/services/autofill/java/com/android/server/autofill/Session.java b/services/autofill/java/com/android/server/autofill/Session.java index a706b0df9c247..320b5ffdf9e8a 100644 --- a/services/autofill/java/com/android/server/autofill/Session.java +++ b/services/autofill/java/com/android/server/autofill/Session.java @@ -3917,8 +3917,7 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState && (mSessionFlags.mAugmentedAutofillOnly || !mSessionFlags.mInlineSupportedByService || mSessionFlags.mExpiredResponse) - && isViewFocusedLocked(flags) - || isFillDialogUiEnabled()) { + && (isViewFocusedLocked(flags) || isRequestSupportFillDialog(flags))) { if (sDebug) Slog.d(TAG, "Create inline request for augmented autofill"); remoteRenderService.getInlineSuggestionsRendererInfo(new RemoteCallback( (extras) -> {