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

Commit 665251b0 authored by Tim Yu's avatar Tim Yu Committed by Android (Google) Code Review
Browse files

Merge "Fix Autofill for specific autofocus apps." into main

parents ae006757 ac6d0286
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -4204,7 +4204,15 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
                    // We don't send an empty response to IME so that it doesn't cause UI flicker
                    // on the IME side if it arrives before the input view is finished on the IME.
                    mInlineSessionController.resetInlineFillUiLocked();

                    if ((viewState.getState() &
                            ViewState.STATE_PENDING_CREATE_INLINE_REQUEST) != 0) {
                        // View was exited before Inline Request sent back, do not set it to
                        // null yet to let onHandleAssistData finish processing
                    } else {
                        mCurrentViewId = null;
                    }


                    mPresentationStatsEventLogger.maybeSetNoPresentationEventReason(
                                NOT_SHOWN_REASON_VIEW_FOCUS_CHANGED);