am acee06fa: Merge "TextView not adding text to accessibility events."
* commit 'acee06fa6297c456dba86e37ba715392a7f43c3b': TextView not adding text to accessibility events.
This commit is contained in:
@@ -8945,7 +8945,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
||||
final boolean isPassword = hasPasswordTransformationMethod();
|
||||
if (!isPassword) {
|
||||
CharSequence text = getTextForAccessibility();
|
||||
if (TextUtils.isEmpty(text)) {
|
||||
if (!TextUtils.isEmpty(text)) {
|
||||
event.getText().add(text);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user