- // Handle the `adView` for the free version.
- if (BuildConfig.FLAVOR.contentEquals("free")) {
- // Reload the ad if we are not in full screen mode.
- if (adView.isShown() && !fullScreenVideoFrameLayout.isShown()) {
- // Reload the ad.
- BannerAd.reloadAfterRotate(adView, getApplicationContext(), getString(R.string.ad_id));
+ // Reload the ad for the free flavor if we are not in full screen mode.
+ if (BuildConfig.FLAVOR.contentEquals("free") && adView.isShown() && !fullScreenVideoFrameLayout.isShown()) {
+ // Reload the ad.
+ BannerAd.reloadAfterRotate(adView, getApplicationContext(), getString(R.string.ad_id));