Skip to content

Allow reusing imeSpecs - #1016

Merged
agrahn merged 2 commits into
agrahn:developfrom
nightkr:fix/1015-reuse-inline-presentation-specs
Aug 4, 2026
Merged

Allow reusing imeSpecs#1016
agrahn merged 2 commits into
agrahn:developfrom
nightkr:fix/1015-reuse-inline-presentation-specs

Conversation

@nightkr

@nightkr nightkr commented Aug 4, 2026

Copy link
Copy Markdown

Fixes #1015

This is documented as Android's intended API contract in https://developer.android.com/reference/kotlin/android/view/inputmethod/InlineSuggestionsRequest?hl=en#getinlinepresentationspecs:

If the max suggestion count is larger than the number of specs in the list, then the last spec is used for the remainder of the suggestions.

Before:

image

After:

image

nightkr added 2 commits August 4, 2026 16:20
Fixes agrahn#1015

This is documented as Android's intended API contract in
https://developer.android.com/reference/kotlin/android/view/inputmethod/InlineSuggestionsRequest?hl=en#getinlinepresentationspecs:

> If the max suggestion count is larger than
> the number of specs in the list, then
> the last spec is used for the remainder
> of the suggestions.
@agrahn
agrahn merged commit 083da11 into agrahn:develop Aug 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Inline autofill is limited to the number of InlinePresentationSpecs

2 participants