hex/android/app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel ac50fe0cdd Android keyboard: a key press plays Android's keyboard click, at the phone's strength
Optional, separate from the gate fix. #2699 made the press a light
EFFECT_TICK and, where the vibrator doesn't report the effect, a 12 ms pulse
at amplitude 80 of 255. Android's own keyboard press is EFFECT_CLICK
(HapticFeedbackVibrationProvider.getKeyboardVibration: KEYBOARD_TAP ->
PRIMITIVE_CLICK / EFFECT_CLICK, KEYBOARD_RELEASE -> EFFECT_TICK), and a
12 ms pulse at a third of full strength may not be felt on a phone whose
vibrator answers "unknown" for predefined effects, which would look like
the S23 report.

Changed: Press plays EFFECT_CLICK (20 ms pulse where unsupported); every
fallback pulse uses VibrationEffect.DEFAULT_AMPLITUDE. Release, dictation
start (click) and end (tick) keep their effects. The system's touch
intensity still scales every tap.
Removed: the fixed amplitude 80 ("light") for fallback pulses, and the tick
as the key-press effect.

Verified: testDebugUnitTest, assembleDebug and assemblePreview green;
emulator dumpsys shows Prebaked=CLICK per press (evidence in the PR).
2026-11-24 10:37:50 -05:00
..
src Android keyboard: a key press plays Android's keyboard click, at the phone's strength 2026-11-24 10:37:50 -05:00
build.gradle.kts android: password manager suggestions in the strip (labs) (#2695) 2026-11-24 09:10:42 -05:00
proguard-rules.pro Hex for Android: on-device dictation keyboard (#2074) 2026-11-20 17:27:17 +00:00