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 @@ - - - -