Skip to content

Commit 05282aa

Browse files
committed
Granular navigation uses mContentDescription instead of getCpontentDescription()s
1. Getting the value of the content description via the method since there is nothing preventing developers to override the method to return a desired value (they should not do that but it is feasible). bug:7079008 Change-Id: Iaf5848e9b065454ebfefccf685415fbf034ae475
1 parent fa8d83d commit 05282aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/view/View.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6805,7 +6805,7 @@ private boolean previousAtGranularity(int granularity) {
68056805
* @hide
68066806
*/
68076807
public CharSequence getIterableTextForAccessibility() {
6808-
return mContentDescription;
6808+
return getContentDescription();
68096809
}
68106810

68116811
/**

0 commit comments

Comments
 (0)