Skip to content

Commit 52832e0

Browse files
sganovAndroid (Google) Code Review
authored andcommitted
Merge "Granular navigation not possible in edit text if the view has content description." into jb-mr1-dev
2 parents 3540f1f + 2f4bf52 commit 52832e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/widget/TextView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8355,7 +8355,7 @@ private void createEditorIfNeeded() {
83558355
*/
83568356
@Override
83578357
public CharSequence getIterableTextForAccessibility() {
8358-
if (getContentDescription() == null) {
8358+
if (!TextUtils.isEmpty(mText)) {
83598359
if (!(mText instanceof Spannable)) {
83608360
setText(mText, BufferType.SPANNABLE);
83618361
}

0 commit comments

Comments
 (0)