Set KeyguardIndicationText to clickable=false
So a11y services don't mistakenly announce "Double tap to activate" on a target that won't do anything. Fixes: 187078434 Test: manual Change-Id: I5b93eadcd190d8077bdb87ee57f9b9c5e6f8d6b3
This commit is contained in:
@@ -125,6 +125,7 @@ public class KeyguardIndicationTextView extends TextView {
|
||||
if (info != null) {
|
||||
setTextColor(info.getTextColor());
|
||||
setOnClickListener(info.getClickListener());
|
||||
setClickable(info.getClickListener() != null);
|
||||
final Drawable icon = info.getIcon();
|
||||
if (icon != null) {
|
||||
icon.setTint(getCurrentTextColor());
|
||||
|
||||
Reference in New Issue
Block a user