diff options
author | Alain Vongsouvanh <alainv@google.com> | 2017-04-10 17:13:17 -0700 |
---|---|---|
committer | Alain Vongsouvanh <alainv@google.com> | 2017-05-19 16:01:49 +0000 |
commit | 0f63a5498e498696454aa4630813bf0d69bf8574 (patch) | |
tree | 4c2b6892cbd8628bdd208cc84c9082f439d50cdd /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1aa356be2c7dc833ff86b6641ba84a14d66fc8c9 (diff) |
Make multi presses on power button timeout configurable through overlay.
Previous implementation used the same timeout value as screen double tap which
does not take into account device specific hardware differences.
New implementation uses the existing ViewConfiguration#getMultiPressTimeout()
value which is configurable through a Setting item and default overlay.
Bug: 37671926
Test: Cherry-picked back to cw-f-dev, flashed on Sculpin with no
configuration changed and verified that timeout was still at
300ms. Added an overlay to increase the timeout, flashed on
Sculpin and verified that the new timeout was being used.
Change-Id: Ie0ab705cafb2a3be9a31e66a03a3c9c656196ca1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions