diff options
author | Gus Prevas <kprevas@google.com> | 2018-09-28 14:55:53 -0400 |
---|---|---|
committer | Gus Prevas <kprevas@google.com> | 2018-10-04 10:23:12 -0400 |
commit | b315fca8e38829d31c0e99710ef36708985f71cb (patch) | |
tree | e6cfc3e16aa740e401d9d91663203d60064e872c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | cda0e83faf2701741c2a9a5ffceadda5801a1199 (diff) |
Fixes GestureLauncherService triggering on long press.
This change modifies the logic in GestureLauncherService which handles
key down events on the power key so that it ignores events associated
with a long press. This prevents the camera from being launched when
a long press occurs within the double-tap threshold, such as when it's
generated by ADB.
Test: atest GestureLauncherServiceTest
Change-Id: I174c338ec3f46cf338ad417bfc551729e4ecd516
Fixes: 116697919
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions