package com.flurry.android;

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

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

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

    public final void onReceiveAd(Ad ad) {
        this.a.onAdFilled(null);
        this.a.onAdShown(null);
        Log.d("FlurryAgent", "Admob AdView received ad.");
    }

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

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

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

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