Skip to content

Commit

Permalink
Unconditionally set resource id to empty string (flutter#6096)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahwilliams authored Aug 27, 2018
1 parent b4b1d05 commit c867305
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) {
}

AccessibilityNodeInfo result = AccessibilityNodeInfo.obtain(mOwner, virtualViewId);
// Work around for https://github.com/flutter/flutter/issues/2101
result.setViewIdResourceName("");
result.setPackageName(mOwner.getContext().getPackageName());
result.setClassName("android.view.View");
result.setSource(mOwner, virtualViewId);
Expand Down

0 comments on commit c867305

Please sign in to comment.