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

Commit 5e24f194 authored by Ahaan Ugale's avatar Ahaan Ugale
Browse files

AF Inline: Don't stop filtering after a suggestion was selected.

This is consistent with dropdown.

The current logic was implemented incorrectly in
I396c2cb279f1eb552bbae8c3509cb29c95e86609.

Fix: 158274878
Test: manual
Test: atest CtsAutoFillServiceTestCases:DatasetFilteringInlineTest
 CtsAutoFillServiceTestCases:InlineFilteringTest
 CtsAutoFillServiceTestCases:DatasetFilteringDropdownTest
Change-Id: I6d67945944e616d0c30b19eb1430383be754b67c
parent bb9ea4e1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2715,7 +2715,9 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
                final ViewState currentView = mViewStates.get(mCurrentViewId);
                currentView.maybeCallOnFillReady(flags);
            }
        } else if (viewState.id.equals(this.mCurrentViewId)
        }

        if (viewState.id.equals(this.mCurrentViewId)
                && (viewState.getState() & ViewState.STATE_INLINE_SHOWN) != 0) {
            if ((viewState.getState() & ViewState.STATE_INLINE_DISABLED) != 0) {
                mInlineSessionController.disableFilterMatching(viewState.id);