]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/standard/java/com/stoutner/privacybrowser/helpers/AdHelper.java
Convert a number of files to Kotlin. https://redmine.stoutner.com/issues/641
[PrivacyBrowserAndroid.git] / app / src / standard / java / com / stoutner / privacybrowser / helpers / AdHelper.java
index 1166d2f80435ae4ad423c0cdbe58f2c204568647..d60bf091dab17811e80a254a90851acab456c9d7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright © 2016-2018 Soren Stoutner <soren@stoutner.com>.
+ * Copyright © 2016-2018,2020 Soren Stoutner <soren@stoutner.com>.
  *
  * This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
  *
@@ -18,6 +18,7 @@
  */
 
 package com.stoutner.privacybrowser.helpers;
+import android.app.Activity;
 import android.content.Context;
 import android.view.View;
 
@@ -25,11 +26,11 @@ import androidx.fragment.app.FragmentManager;
 
 @SuppressWarnings("unused")
 public class AdHelper {
-    public static void initializeAds(View view, Context applicationContext, FragmentManager fragmentManager, String googleAppId, String adUnitId) {
+    public static void initializeAds(View view, Context applicationContext, Activity activity, FragmentManager fragmentManager, String adUnitId) {
         // Do nothing because this is the standard flavor.
     }
 
-    public static void loadAd(View view, Context applicationContext, String adUnitId) {
+    public static void loadAd(View view, Context applicationContext, Activity activity, String adUnitId) {
         // Do nothing because this is the standard flavor.
     }