From d27df6b92826303e8a8341d06d660361c08a2283 Mon Sep 17 00:00:00 2001 From: jjliu15 <58007281+jjliu15@users.noreply.github.com> Date: Tue, 29 Jun 2021 15:43:40 -0700 Subject: [PATCH] Add comment to deprecation warning suppression. (#294) --- .../java/io/flutter/plugins/googlemobileads/FlutterAdSize.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterAdSize.java b/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterAdSize.java index 94009cff9..3f47caf3b 100644 --- a/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterAdSize.java +++ b/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterAdSize.java @@ -67,7 +67,7 @@ private static AdSize getAdSize( static class SmartBannerAdSize extends FlutterAdSize { - @SuppressWarnings("deprecation") + @SuppressWarnings("deprecation") // Smart banner is already deprecated in Dart. SmartBannerAdSize() { super(AdSize.SMART_BANNER); }