summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAndrei Stingaceanu <stg@google.com>2017-02-06 17:03:28 +0000
committerAndrei Stingaceanu <stg@google.com>2017-02-06 17:03:28 +0000
commitf0ebee91f86eafc1fb7b4c377f3cd1d6ce3fe38e (patch)
tree15932f8a7422f81fc30be7ff3a5027aa6d62c6c8 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6c149326d8d1ef0f8bf6dad702ffca399364d0d3 (diff)
Clickable spans - trigger onClick onSingleTapUp
Previously (post Android N) we decided to introduce a gesture detector in textView and trigger the onClick() over a clickable span when onSingleTapConfirmed was called. The problem is that onSingleTapConfirmed also waits for double tap timeout to make sure (to confirm). This has a chance to break some apps so relax the rule to only look for onSingleTapUp. * the bug for which the initial change was made is still fixed * slightly amended the ClickableSpan JavaDoc to specify that the onClick gets triggered if the span is selected when clicked (note that this behavior is unchanged since ClickableSpan exists, added just an extra hint to devs) Bug: 23692690 Test: in the attached CL (same topic) Change-Id: Iead434aa558301d61879c27edc48dc4148ca187f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions