Fix accessibility description on master clear
Only include visible views Change-Id: I271ae87c788e270b15e7ca8758059771cde16d33 Fixes: 28316423
This commit is contained in:
@@ -177,6 +177,9 @@ public class MasterClear extends OptionsMenuFragment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void getContentDescription(View v, StringBuffer description) {
|
private void getContentDescription(View v, StringBuffer description) {
|
||||||
|
if (v.getVisibility() != View.VISIBLE) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (v instanceof ViewGroup) {
|
if (v instanceof ViewGroup) {
|
||||||
ViewGroup vGroup = (ViewGroup) v;
|
ViewGroup vGroup = (ViewGroup) v;
|
||||||
for (int i = 0; i < vGroup.getChildCount(); i++) {
|
for (int i = 0; i < vGroup.getChildCount(); i++) {
|
||||||
|
Reference in New Issue
Block a user