File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
core/java/android/appwidget Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 3838import android .view .Gravity ;
3939import android .view .LayoutInflater ;
4040import android .view .View ;
41+ import android .view .accessibility .AccessibilityNodeInfo ;
4142import android .widget .Adapter ;
4243import android .widget .AdapterView ;
4344import android .widget .BaseAdapter ;
@@ -523,6 +524,12 @@ protected View getErrorView() {
523524 return tv ;
524525 }
525526
527+ @ Override
528+ public void onInitializeAccessibilityNodeInfo (AccessibilityNodeInfo info ) {
529+ super .onInitializeAccessibilityNodeInfo (info );
530+ info .setClassName (AppWidgetHostView .class .getName ());
531+ }
532+
526533 private static class ParcelableSparseArray extends SparseArray <Parcelable > implements Parcelable {
527534 public int describeContents () {
528535 return 0 ;
You can’t perform that action at this time.
0 commit comments