Skip to content
Commit 198a2624 authored by Jackal Guo's avatar Jackal Guo
Browse files

Get long press timeout directly

GestureDetector is preloaded by Zygote so the value of constant
would be init at early stage of boot. Since the value needs to
change dynamically, get timeout directly. Bedides, keeping get
the current value from core setting instead of setting provider
directly to reduce disk I/O.

Bug: 112929201
Test: a11y CTS & unit test
Change-Id: Iaaad801baabab90732dabbf17399dee2c0eec04b
parent 24a579db
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