hex/android/app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 2c54f65dc5
android keyboard: with Autocorrect off, the strip still offers near words (#2747)
A tester with Keyboard › Autocorrect off typed "diagnostucs" and the strip offered nothing:
strip(autocorrect = false) dropped what space would put in and the decoder's readings, so
turning automatic fixes off also took the suggestions away. Gboard keeps its suggestions with
auto-correction off.

After the pause (the strip shown at once is unchanged), Autocorrect off now offers the same
candidates as on, as plain words: what space would have put in, the suggest-only contractions
and elisions, and the decoder's readings. None is a Fix, so none is highlighted, and space and
punctuation still check feedback.autocorrect before changing a word, as before. Fields that ask
for no suggestions (and URL fields) keep their strip. strip gains nearWords (default: as
autocorrect) and @JvmOverloads keeps strip(Boolean) for the benchmark's reflection.

Verified: ./gradlew :app:testDebugUnitTest (236 tests, one new case in ElisionSuggestionTest);
quality-gate.py en identical to dev's.
2026-11-24 17:25:13 -05:00
..
src android keyboard: with Autocorrect off, the strip still offers near words (#2747) 2026-11-24 17:25:13 -05:00
build.gradle.kts Android: faster English dictation (Labs) (#2704) 2026-11-24 13:36:38 -05:00
proguard-rules.pro Android: faster English dictation (Labs) (#2704) 2026-11-24 13:36:38 -05:00