Fixed
Status Update
Comments
uc...@google.com <uc...@google.com>
tn...@google.com <tn...@google.com> #2
Could you please provide additional detail on which TV make and model, and what specific content you have the issue with.
Description
AI-171.4294784, JRE 1.8.0_152-release-915-b01x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.12.6 unknown, screens 3008x1692, 1680x1050; Retina
With AGP 3.0.0-beta3:
private void ignoreTouchesOutsideRange(final TextView textView) {
textView.setOnTouchListener(new MyListener());
}
The code above gives warning about
"Custom view `TextView` has `setOnTouchListener` called on it but does not override 'performClick' "
If I do "alt-enter" it gives me an option for
"Suppress: Add @SuppressLint("ClickableViewAccessibility") annotation"
If I choose that option, I get
@SuppressLint("ClickableViewAccessibility")
private void ignoreTouchesOutsideRange(final TextView textView) {
textView.setOnTouchListener(new MyListener());
}
But lint still fails and Android Studio still shows a warning, so suppression is broken.
Also, TextView is not a "custom view".