commit | bbe3b2085678d5cc34332efd0635e79239cd9102 | [log] [tgz] |
---|---|---|
author | Joshua Tsuji <tsuji@google.com> | Tue Apr 21 12:15:50 2020 -0400 |
committer | Joshua Tsuji <tsuji@google.com> | Tue Apr 21 12:19:46 2020 -0400 |
tree | 06ae5ce1e9edf4116a0e3423b018c5dc7e3c91ba | |
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