Merge "Granular navigation not possible in edit text if the view has content description." into jb-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
52832e0c4f
@@ -8355,7 +8355,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
||||
*/
|
||||
@Override
|
||||
public CharSequence getIterableTextForAccessibility() {
|
||||
if (getContentDescription() == null) {
|
||||
if (!TextUtils.isEmpty(mText)) {
|
||||
if (!(mText instanceof Spannable)) {
|
||||
setText(mText, BufferType.SPANNABLE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user