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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user