Loading core/java/android/service/autofill/InlinePresentation.java +2 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,8 @@ public final class InlinePresentation implements Parcelable { private final @NonNull InlinePresentationSpec mInlinePresentationSpec; /** * Indicates whether the UI should be pinned, hence non-scrollable, in the host. * Indicates whether the UI should be pinned, hence non-scrollable and non-filterable, in the * host. */ private final boolean mPinned; Loading services/autofill/java/com/android/server/autofill/ui/InlineSuggestionFactory.java +2 −1 Original line number Diff line number Diff line Loading @@ -165,7 +165,8 @@ public final class InlineSuggestionFactory { Slog.w(TAG, "InlinePresentation not found in dataset"); continue; } if (!includeDataset(dataset, fieldIndex, filterText)) { if (!inlinePresentation.isPinned() // don't filter pinned suggestions && !includeDataset(dataset, fieldIndex, filterText)) { continue; } InlineSuggestion inlineSuggestion = createInlineSuggestion(isAugmented, dataset, Loading Loading
core/java/android/service/autofill/InlinePresentation.java +2 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,8 @@ public final class InlinePresentation implements Parcelable { private final @NonNull InlinePresentationSpec mInlinePresentationSpec; /** * Indicates whether the UI should be pinned, hence non-scrollable, in the host. * Indicates whether the UI should be pinned, hence non-scrollable and non-filterable, in the * host. */ private final boolean mPinned; Loading
services/autofill/java/com/android/server/autofill/ui/InlineSuggestionFactory.java +2 −1 Original line number Diff line number Diff line Loading @@ -165,7 +165,8 @@ public final class InlineSuggestionFactory { Slog.w(TAG, "InlinePresentation not found in dataset"); continue; } if (!includeDataset(dataset, fieldIndex, filterText)) { if (!inlinePresentation.isPinned() // don't filter pinned suggestions && !includeDataset(dataset, fieldIndex, filterText)) { continue; } InlineSuggestion inlineSuggestion = createInlineSuggestion(isAugmented, dataset, Loading