From 56208b0de7d55de6703233f101837334961071dd Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Thu, 8 Aug 2019 15:25:56 -0700 Subject: [PATCH] Remove use of the deprecated AccessibilityNodeInfo boundsInParent API (flutter/engine#10773) --- .../android/io/flutter/view/AccessibilityViewEmbedder.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/engine/src/flutter/shell/platform/android/io/flutter/view/AccessibilityViewEmbedder.java b/engine/src/flutter/shell/platform/android/io/flutter/view/AccessibilityViewEmbedder.java index 4fcea1b13b..0f51e48769 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/view/AccessibilityViewEmbedder.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/view/AccessibilityViewEmbedder.java @@ -200,10 +200,6 @@ final class AccessibilityViewEmbedder { @NonNull Rect displayBounds, @NonNull AccessibilityNodeInfo resultNode ) { - Rect boundsInParent = new Rect(); - originNode.getBoundsInParent(boundsInParent); - resultNode.setBoundsInParent(boundsInParent); - Rect boundsInScreen = new Rect(); originNode.getBoundsInScreen(boundsInScreen); boundsInScreen.offset(displayBounds.left, displayBounds.top);