Skip to content

Commit b0267e2

Browse files
sganovAndroid (Google) Code Review
authored andcommitted
Merge "AccessibilityNodeInfo makes incorrect check before calling into the system." into ics-mr1
2 parents 733442e + c0291bb commit b0267e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/view/accessibility/AccessibilityNodeInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ public List<AccessibilityNodeInfo> findAccessibilityNodeInfosByText(String text)
293293
*/
294294
public AccessibilityNodeInfo getParent() {
295295
enforceSealed();
296-
if (!canPerformRequestOverConnection(mAccessibilityViewId)) {
296+
if (!canPerformRequestOverConnection(mParentAccessibilityViewId)) {
297297
return null;
298298
}
299299
AccessibilityInteractionClient client = AccessibilityInteractionClient.getInstance();

0 commit comments

Comments
 (0)