summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2023-11-14 21:15:58 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2023-11-14 21:23:22 +0000
commit5128949634c682b630a9a94517f4a6df0b5dfc21 (patch)
tree8a0277c8715c525d77eeaaca7c83583dcfc21d2a /libs/input/PointerController.cpp
parent32a0d2ff6a0a8bb17c82a07fe0643bc6b40598cb (diff)
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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions