hex/android/app/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 0d6bddad9d
Android keyboard: only Hex's Haptics switch decides whether Hex asks for a tap (#2732)
Removed: the Settings.System "keyboard_vibration_enabled" rule from
vibrates(), and with it the config_keyboardVibrationSettingsSupported
lookup and keyboardVibrationAllows (#2699 checked the value everywhere;
#2718 only where the phone declares the setting). Why: on the Galaxy S23
(One UI 9) Hex was written for, the owner has touch vibration on (his
dumpsys shows Samsung's touch magnitude 6000, level 3 of 5) and expects
Hex's switch to work, yet keyboard_vibration_enabled reads 0
(https://x.com/TymekTM/status/2125264373224718730). If One UI declares the
setting, #2718 still kept Hex silent there.

Now: vibrates() is Hex's Haptics switch alone. Taps stay USAGE_TOUCH, so the
phone's touch feedback setting, its strength and Do Not Disturb apply as
for Android's own taps; #2718's click for a key press stays.
Known cost: on a phone that offers Android's Keyboard vibration switch (a
Pixel, Android 15+), turning that switch off no longer silences Hex; Hex's
own Haptics switch does.

Labs › Diagnostics keeps the Keyboard vibration line as information
("off (Hex doesn't follow it)", "this phone has none (stored value 0)"),
and its verdict's only "no, because" is Hex's switch; the counters stay.
The report is English-only, so no strings to translate. README and
StripTextTest updated; KeyboardPageTest's keyboardVibrationAllows case
removed with the function.

Verified: testDebugUnitTest, assembleDebug and assemblePreview green on
basebook; emulator evidence in the PR.
2026-11-24 11:44:37 -05:00
..
diagnostics/assets Android: Labs › Diagnostics, a copyable report and speed test for testers' phones (#2720) 2026-11-24 11:34:28 -05:00
main Android keyboard: only Hex's Haptics switch decides whether Hex asks for a tap (#2732) 2026-11-24 11:44:37 -05:00
play/java/ly/anoma/hex/updates Android: Hex Preview, an APK outside Google Play that updates itself (#2531) 2026-11-23 11:37:51 -05:00
preview Android Hex Preview: the update card says to tap the download again after allowing the browser (#2715) 2026-11-24 10:26:14 -05:00
release Hex for Android: on-device dictation keyboard (#2074) 2026-11-20 17:27:17 +00:00
test/java/ly/anoma/hex Android keyboard: only Hex's Haptics switch decides whether Hex asks for a tap (#2732) 2026-11-24 11:44:37 -05:00