Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit c867305

Browse files
author
Jonah Williams
authored
Unconditionally set resource id to empty string (#6096)
1 parent b4b1d05 commit c867305

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

shell/platform/android/io/flutter/view/AccessibilityBridge.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) {
144144
}
145145

146146
AccessibilityNodeInfo result = AccessibilityNodeInfo.obtain(mOwner, virtualViewId);
147+
// Work around for https://github.com/flutter/flutter/issues/2101
148+
result.setViewIdResourceName("");
147149
result.setPackageName(mOwner.getContext().getPackageName());
148150
result.setClassName("android.view.View");
149151
result.setSource(mOwner, virtualViewId);

0 commit comments

Comments
 (0)