diff --git a/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterRequestAgentProvider.java b/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterRequestAgentProvider.java index e198868ae..cb7f960a8 100644 --- a/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterRequestAgentProvider.java +++ b/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterRequestAgentProvider.java @@ -17,10 +17,8 @@ class FlutterRequestAgentProvider { static final String NEWS_VERSION_KEY = "io.flutter.plugins.googlemobileads.FLUTTER_NEWS_TEMPLATE_VERSION"; - @Nullable - private String newsTemplateVersion; - @Nullable - private String gameTemplateVersion; + @Nullable private String newsTemplateVersion; + @Nullable private String gameTemplateVersion; FlutterRequestAgentProvider(Context context) { processGameAndNewsTemplateVersions(context); @@ -30,16 +28,18 @@ private void processGameAndNewsTemplateVersions(Context context) { try { ApplicationInfo info; if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.TIRAMISU) { - info = context - .getApplicationContext() - .getPackageManager() - .getApplicationInfo(context.getPackageName(), - PackageManager.ApplicationInfoFlags.of(PackageManager.GET_META_DATA)); + info = + context + .getApplicationContext() + .getPackageManager() + .getApplicationInfo(context.getPackageName(), + PackageManager.ApplicationInfoFlags.of(PackageManager.GET_META_DATA)); } else { - info = context - .getApplicationContext() - .getPackageManager() - .getApplicationInfo(context.getPackageName(), PackageManager.GET_META_DATA); + info = + context + .getApplicationContext() + .getPackageManager() + .getApplicationInfo(context.getPackageName(), PackageManager.GET_META_DATA); } Bundle metaData = info.metaData; if (metaData != null) {