From 7279070455564235afd7eb2485cb14dea959fbf9 Mon Sep 17 00:00:00 2001 From: Matan Lurey Date: Wed, 21 Aug 2024 12:57:52 -0700 Subject: [PATCH] Remove spammy warning message on `FlutterView` (flutter/engine#54686) @matanlurey: > As of https://github.com/flutter/engine/commit/2f6952657d7adf41c967ee7b93db230107da46e3, we are now printing a `W/FlutterView( 7775): API level 34 is too low to query bounding rects.` message which is not user actionable. Was this intended to stay in the merged PR? What value is it supposed to have? @yaakovschectman: > You might be right about that --- .../android/io/flutter/embedding/android/FlutterView.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java b/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java index 37d9621c6b..d7c1387da8 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java @@ -777,8 +777,6 @@ public class FlutterView extends FrameLayout // existing Insets-based method calls above. if (Build.VERSION.SDK_INT >= API_LEVELS.API_35) { delegate.growViewportMetricsToCaptionBar(getContext(), viewportMetrics); - } else { - Log.w(TAG, "API level " + Build.VERSION.SDK_INT + " is too low to query bounding rects."); } Log.v(