commit | b315fca8e38829d31c0e99710ef36708985f71cb | [log] [tgz] |
---|---|---|
author | Gus Prevas <kprevas@google.com> | Fri Sep 28 14:55:53 2018 -0400 |
committer | Gus Prevas <kprevas@google.com> | Thu Oct 04 10:23:12 2018 -0400 |
tree | e6cfc3e16aa740e401d9d91663203d60064e872c | |
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