commit | 198a262477e1d36b3b82ee74d499fba6df872631 | [log] [tgz] |
---|---|---|
author | Jackal Guo <jackalguo@google.com> | Mon Nov 19 11:51:31 2018 +0800 |
committer | Jackal Guo <jackalguo@google.com> | Thu Nov 29 18:56:16 2018 +0800 |
tree | 1ba4dd4bbe46908b3c689dd71b5a1967a306dadc | |
parent | 24a579db2630e2f0a78f9cb572826c576759e114 [diff] |
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