am 52832e0c: Merge "Granular navigation not possible in edit text if the view has content description." into jb-mr1-dev

* commit '52832e0c4f353bbeaccf50ca8689056c392fc750':
  Granular navigation not possible in edit text if the view has content description.
This commit is contained in:
Svetoslav Ganov
2012-09-06 19:16:25 -07:00
committed by Android Git Automerger

View File

@@ -8355,7 +8355,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
*/ */
@Override @Override
public CharSequence getIterableTextForAccessibility() { public CharSequence getIterableTextForAccessibility() {
if (getContentDescription() == null) { if (!TextUtils.isEmpty(mText)) {
if (!(mText instanceof Spannable)) { if (!(mText instanceof Spannable)) {
setText(mText, BufferType.SPANNABLE); setText(mText, BufferType.SPANNABLE);
} }