package com.google.android.gms.internal.ads;

import android.content.Context;
import android.os.RemoteException;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.formats.MediaView;

/* JADX INFO: loaded from: classes2.dex */
public final class hr {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final gr f12246a;

    public hr(gr grVar) {
        Context context;
        this.f12246a = grVar;
        try {
            context = (Context) k8.b.O(grVar.zzm());
        } catch (RemoteException | NullPointerException unused) {
            context = null;
        }
        if (context != null) {
            try {
                this.f12246a.p(new k8.b(new MediaView(context)));
            } catch (RemoteException unused2) {
            }
        }
    }

    @Nullable
    public final String zzb() {
        try {
            return this.f12246a.zzh();
        } catch (RemoteException unused) {
            return null;
        }
    }
}
