Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2348494d authored by Beverly's avatar Beverly
Browse files

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
parent 25037436
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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());