hex/android/app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel d83d73cf53
Android: keep the speech model when the keyboard merely hides (#2568)
onTrimMemory(TRIM_MEMORY_UI_HIDDEN) arrives at every app switch; #2566's
"level >= TRIM_MEMORY_RUNNING_LOW" guard let it through, so the model was freed
on every hide and reloaded at the next key-down. Free only under memory
pressure: RUNNING_LOW and above, except UI_HIDDEN.

Verified on the Android 16 emulator with real dictation through the guest
microphone: Home and Settings freed nothing, the next dictation reused the
model (no reload, 1.41 s key up to text), and send-trim-memory RUNNING_LOW still
freed it. testDebugUnitTest, assembleDebug, lintVitalAnalyzeRelease pass.
2026-11-23 14:45:58 -05:00
..
src Android: keep the speech model when the keyboard merely hides (#2568) 2026-11-23 14:45:58 -05:00
build.gradle.kts Android: Hex Preview, an APK outside Google Play that updates itself (#2531) 2026-11-23 11:37:51 -05:00
proguard-rules.pro Hex for Android: on-device dictation keyboard (#2074) 2026-11-20 17:27:17 +00:00