From 1edc5fb95962c8c3c6e902a11e5470764b9d4644 Mon Sep 17 00:00:00 2001 From: Matan Lurey Date: Wed, 25 Sep 2024 14:54:41 -0700 Subject: [PATCH] Move from baseline.xml to SuppressLint. --- .../io/flutter/embedding/android/FlutterView.java | 2 +- tools/android_lint/baseline.xml | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/shell/platform/android/io/flutter/embedding/android/FlutterView.java b/shell/platform/android/io/flutter/embedding/android/FlutterView.java index 4c6d5448ae7f3..0d5ae3a8efc5f 100644 --- a/shell/platform/android/io/flutter/embedding/android/FlutterView.java +++ b/shell/platform/android/io/flutter/embedding/android/FlutterView.java @@ -683,7 +683,7 @@ private int guessBottomKeyboardInset(WindowInsets insets) { // The annotations to suppress "InlinedApi" and "NewApi" lints prevent lint warnings // caused by usage of Android Q APIs. These calls are safe because they are // guarded. - @SuppressLint({"InlinedApi", "NewApi"}) + @SuppressLint({"InlinedApi", "NewApi", "DeprecatedSinceApi"}) @NonNull public final WindowInsets onApplyWindowInsets(@NonNull WindowInsets insets) { WindowInsets newInsets = super.onApplyWindowInsets(insets); diff --git a/tools/android_lint/baseline.xml b/tools/android_lint/baseline.xml index c3932724a8245..a374b1cd795a1 100644 --- a/tools/android_lint/baseline.xml +++ b/tools/android_lint/baseline.xml @@ -1,17 +1,6 @@ - - - -