summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Fan Zhang <zhfan@google.com> 2022-12-06 12:56:46 -0800
committer Fan Zhang <zhfan@google.com> 2022-12-13 17:37:10 +0000
commitab68e38786ecfa253cca5808182f42b17371db70 (patch)
treed0361df414d5f5497218bddfaa8e8fbadfc46ac5 /api/api.go
parentff81457133a064625dc1432c9f6c4692b8ed5f42 (diff)
Increase threshold for ESOS power button press detection
If pressing power button 5 times is faster than 200ms, we will not trigger the ESOS experience. This is unlikely to be done by human. The fastest recorded button press is 60ms so the whole esos gesture sequence should be 300ms or so. We are taking 200ms threshold to be conservative. Fix: 261618088 Test: rebuild, PTS Change-Id: Id3f1d92623d17b2921cc0fb90c1f19f896946881
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions