diff options
author | Joshua Tsuji <tsuji@google.com> | 2020-04-21 12:15:50 -0400 |
---|---|---|
committer | Joshua Tsuji <tsuji@google.com> | 2020-04-21 12:19:46 -0400 |
commit | bbe3b2085678d5cc34332efd0635e79239cd9102 (patch) | |
tree | 06ae5ce1e9edf4116a0e3423b018c5dc7e3c91ba /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ce316be9911ec9ccc48049a4e9a0504a0b07a44c (diff) |
Fix long-press issue in RelativeTouchListener.
performLongClick does not check if the view is long-clickable, and defaults to showing a context menu if the long-click listener is not set. This crashes Bubbles. Just check if the view is long-clickable first.
Test: manual
Fixes: 154417194
Change-Id: I0bb1363fac3b5a2d16d1f5dc79f40b4a2bf88f4d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions