Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 51289496 authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

Decouple key_repeat_timeout and long_press_timeout

The key repeat timeout was the same as the long press timeout before
Android U. However, due to a long-standing bug, the InputDispatcher
queried the key repeat timeout early in the boot phase before the
long press timeout setting was actually read, which meant that the
default fallback value was being used every time.

Although the key repeat timeout used the long press timeout under the
hood, the behavior from the user's perspective was that the key press
timeout could effectively never be changed.

Code changes in U solved the aforementioned long-standing bug, but the
now-new behavior of key repeats being affected by changes in long
press timeout is unexpected from a user perspective.

We have decided that we want to decouple to two settings altogether,
without having one fall back to the other.

Bug: 310657006
Test: manual, adb shell settings put secure key_repeat_timeout <value>
Change-Id: Ieb7167c3639bad6e7eaa24bdfc657b8ac1de0b8e
parent 32a0d2ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment