package com.flurry.android;

import android.util.Log;
import com.google.ads.Ad;
import com.google.ads.AdListener;
import com.google.ads.AdRequest;
import com.google.ads.InterstitialAd;
import java.util.Collections;

/* loaded from: /storage/emulated/0/Documents/jadec/sources/com.UBI.A90.WW/dex-files/0.dex */
final class i implements AdListener {
    private /* synthetic */ x a;

    /* JADX INFO: Access modifiers changed from: package-private */
    public i(x xVar) {
        this.a = xVar;
    }

    public final void onReceiveAd(Ad ad) {
        InterstitialAd interstitialAd;
        this.a.onAdFilled(null);
        Log.d("FlurryAgent", "Admob Interstitial received takeover.");
        this.a.onAdShown(null);
        interstitialAd = this.a.f;
        interstitialAd.show();
    }

    public final void onFailedToReceiveAd(Ad ad, AdRequest.ErrorCode errorCode) {
        this.a.onAdUnFilled(null);
        Log.d("FlurryAgent", "Admob Interstitial failed to receive takeover.");
    }

    public final void onPresentScreen(Ad ad) {
        Log.d("FlurryAgent", "Admob Interstitial present on screen.");
    }

    public final void onDismissScreen(Ad ad) {
        this.a.onAdClosed(Collections.emptyMap());
        Log.i("FlurryAgent", "Admob Interstitial dismissed from screen.");
    }

    public final void onLeaveApplication(Ad ad) {
        this.a.onAdClicked(null);
        Log.i("FlurryAgent", "Admob Interstitial leave application.");
    }
}
