package o;

import android.os.Binder;
import android.os.Bundle;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.text.TextUtils;
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.GooglePlayServicesUtilLight;
import com.google.android.gms.common.GoogleSignatureVerifier;
import com.google.android.gms.common.api.CommonStatusCodes;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.common.util.UidVerifier;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.fs0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class BinderC1237fs0 extends So0 implements InterfaceC2185pq0 {
    public final C1051dv0 d;
    public Boolean e;
    public String f;

    public BinderC1237fs0(C1051dv0 c1051dv0) {
        super("com.google.android.gms.measurement.internal.IMeasurementService");
        Preconditions.checkNotNull(c1051dv0);
        this.d = c1051dv0;
        this.f = null;
    }

    @Override // o.InterfaceC2185pq0
    public final void A(Xn0 xn0, C1531iw0 c1531iw0) {
        Preconditions.checkNotNull(xn0);
        Preconditions.checkNotNull(xn0.n);
        D(c1531iw0);
        Xn0 xn02 = new Xn0(xn0);
        xn02.l = c1531iw0.l;
        F(new RunnableC0245Jl(this, xn02, c1531iw0, 5, false));
    }

    /* JADX WARN: Multi-variable type inference failed */
    @Override // o.So0
    public final boolean B(int i, Parcel parcel, Parcel parcel2) {
        boolean z;
        List list;
        C1051dv0 c1051dv0 = this.d;
        ArrayList arrayList = null;
        InterfaceC2469sq0 c2280qq0 = null;
        InterfaceC2754vq0 c2564tq0 = null;
        switch (i) {
            case 1:
                No0 no0 = (No0) Uo0.a(parcel, No0.CREATOR);
                C1531iw0 c1531iw0 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Uo0.d(parcel);
                f(no0, c1531iw0);
                parcel2.writeNoException();
                return true;
            case 2:
                C1910mv0 c1910mv0 = (C1910mv0) Uo0.a(parcel, C1910mv0.CREATOR);
                C1531iw0 c1531iw02 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Uo0.d(parcel);
                j(c1910mv0, c1531iw02);
                parcel2.writeNoException();
                return true;
            case 3:
            case 8:
            case 22:
            case ConnectionResult.API_DISABLED /* 23 */:
            case 28:
            default:
                return false;
            case 4:
                C1531iw0 c1531iw03 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Uo0.d(parcel);
                w(c1531iw03);
                parcel2.writeNoException();
                return true;
            case 5:
                No0 no02 = (No0) Uo0.a(parcel, No0.CREATOR);
                String string = parcel.readString();
                parcel.readString();
                Uo0.d(parcel);
                Preconditions.checkNotNull(no02);
                Preconditions.checkNotEmpty(string);
                E(string, true);
                F(new RunnableC0245Jl(this, no02, string, 7, false));
                parcel2.writeNoException();
                return true;
            case 6:
                C1531iw0 c1531iw04 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Uo0.d(parcel);
                g(c1531iw04);
                parcel2.writeNoException();
                return true;
            case 7:
                C1531iw0 c1531iw05 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Object[] objArr = parcel.readInt() != 0;
                Uo0.d(parcel);
                D(c1531iw05);
                String str = c1531iw05.l;
                Preconditions.checkNotNull(str);
                try {
                    List<C2195pv0> list2 = (List) c1051dv0.c().z(new Mr0(this, str, 0)).get();
                    ArrayList arrayList2 = new ArrayList(list2.size());
                    for (C2195pv0 c2195pv0 : list2) {
                        if (objArr != false || !C2574tv0.P(c2195pv0.c)) {
                            arrayList2.add(new C1910mv0(c2195pv0));
                        }
                    }
                    arrayList = arrayList2;
                } catch (InterruptedException e) {
                    e = e;
                    c1051dv0.b().f.d("Failed to get user properties. appId", Nq0.A(str), e);
                    parcel2.writeNoException();
                    parcel2.writeTypedList(arrayList);
                    return true;
                } catch (ExecutionException e2) {
                    e = e2;
                    c1051dv0.b().f.d("Failed to get user properties. appId", Nq0.A(str), e);
                    parcel2.writeNoException();
                    parcel2.writeTypedList(arrayList);
                    return true;
                }
                parcel2.writeNoException();
                parcel2.writeTypedList(arrayList);
                return true;
            case ConnectionResult.SERVICE_INVALID /* 9 */:
                No0 no03 = (No0) Uo0.a(parcel, No0.CREATOR);
                String string2 = parcel.readString();
                Uo0.d(parcel);
                byte[] bArrL = l(string2, no03);
                parcel2.writeNoException();
                parcel2.writeByteArray(bArrL);
                return true;
            case 10:
                long j = parcel.readLong();
                String string3 = parcel.readString();
                String string4 = parcel.readString();
                String string5 = parcel.readString();
                Uo0.d(parcel);
                n(j, string3, string4, string5);
                parcel2.writeNoException();
                return true;
            case ConnectionResult.LICENSE_CHECK_FAILED /* 11 */:
                C1531iw0 c1531iw06 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Uo0.d(parcel);
                String strB = b(c1531iw06);
                parcel2.writeNoException();
                parcel2.writeString(strB);
                return true;
            case 12:
                Xn0 xn0 = (Xn0) Uo0.a(parcel, Xn0.CREATOR);
                C1531iw0 c1531iw07 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Uo0.d(parcel);
                A(xn0, c1531iw07);
                parcel2.writeNoException();
                return true;
            case 13:
                Xn0 xn02 = (Xn0) Uo0.a(parcel, Xn0.CREATOR);
                Uo0.d(parcel);
                Preconditions.checkNotNull(xn02);
                Preconditions.checkNotNull(xn02.n);
                Preconditions.checkNotEmpty(xn02.l);
                E(xn02.l, true);
                F(new RunnableC0890cD(28, this, new Xn0(xn02), false));
                parcel2.writeNoException();
                return true;
            case 14:
                String string6 = parcel.readString();
                String string7 = parcel.readString();
                ClassLoader classLoader = Uo0.a;
                z = parcel.readInt() != 0;
                C1531iw0 c1531iw08 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Uo0.d(parcel);
                List listX = x(string6, string7, z, c1531iw08);
                parcel2.writeNoException();
                parcel2.writeTypedList(listX);
                return true;
            case 15:
                String string8 = parcel.readString();
                String string9 = parcel.readString();
                String string10 = parcel.readString();
                ClassLoader classLoader2 = Uo0.a;
                z = parcel.readInt() != 0;
                Uo0.d(parcel);
                List listD = d(string8, string9, string10, z);
                parcel2.writeNoException();
                parcel2.writeTypedList(listD);
                return true;
            case 16:
                String string11 = parcel.readString();
                String string12 = parcel.readString();
                C1531iw0 c1531iw09 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Uo0.d(parcel);
                List listI = i(string11, string12, c1531iw09);
                parcel2.writeNoException();
                parcel2.writeTypedList(listI);
                return true;
            case 17:
                String string13 = parcel.readString();
                String string14 = parcel.readString();
                String string15 = parcel.readString();
                Uo0.d(parcel);
                List listS = s(string13, string14, string15);
                parcel2.writeNoException();
                parcel2.writeTypedList(listS);
                return true;
            case ConnectionResult.SERVICE_UPDATING /* 18 */:
                C1531iw0 c1531iw010 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Uo0.d(parcel);
                t(c1531iw010);
                parcel2.writeNoException();
                return true;
            case 19:
                Bundle bundle = (Bundle) Uo0.a(parcel, Bundle.CREATOR);
                C1531iw0 c1531iw011 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Uo0.d(parcel);
                y(bundle, c1531iw011);
                parcel2.writeNoException();
                return true;
            case 20:
                C1531iw0 c1531iw012 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Uo0.d(parcel);
                h(c1531iw012);
                parcel2.writeNoException();
                return true;
            case CommonStatusCodes.RECONNECTION_TIMED_OUT_DURING_UPDATE /* 21 */:
                C1531iw0 c1531iw013 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Uo0.d(parcel);
                C1896mo0 c1896mo0R = r(c1531iw013);
                parcel2.writeNoException();
                if (c1896mo0R == null) {
                    parcel2.writeInt(0);
                    return true;
                }
                parcel2.writeInt(1);
                c1896mo0R.writeToParcel(parcel2, 1);
                return true;
            case ConnectionResult.API_DISABLED_FOR_CONNECTION /* 24 */:
                C1531iw0 c1531iw014 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Bundle bundle2 = (Bundle) Uo0.a(parcel, Bundle.CREATOR);
                Uo0.d(parcel);
                D(c1531iw014);
                String str2 = c1531iw014.l;
                Preconditions.checkNotNull(str2);
                if (c1051dv0.d0().C(null, AbstractC1900mq0.Y0)) {
                    try {
                        list = (List) c1051dv0.c().A(new CallableC0759as0(this, c1531iw014, bundle2, 0)).get(10000L, TimeUnit.MILLISECONDS);
                    } catch (InterruptedException | ExecutionException | TimeoutException e3) {
                        c1051dv0.b().f.d("Failed to get trigger URIs. appId", Nq0.A(str2), e3);
                        list = Collections.EMPTY_LIST;
                    }
                } else {
                    try {
                        list = (List) c1051dv0.c().z(new CallableC0759as0(this, c1531iw014, bundle2, 1)).get();
                    } catch (InterruptedException | ExecutionException e4) {
                        c1051dv0.b().f.d("Failed to get trigger URIs. appId", Nq0.A(str2), e4);
                        list = Collections.EMPTY_LIST;
                    }
                }
                parcel2.writeNoException();
                parcel2.writeTypedList(list);
                return true;
            case 25:
                C1531iw0 c1531iw015 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Uo0.d(parcel);
                z(c1531iw015);
                parcel2.writeNoException();
                return true;
            case 26:
                C1531iw0 c1531iw016 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Uo0.d(parcel);
                c(c1531iw016);
                parcel2.writeNoException();
                return true;
            case 27:
                C1531iw0 c1531iw017 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Uo0.d(parcel);
                u(c1531iw017);
                parcel2.writeNoException();
                return true;
            case 29:
                C1531iw0 c1531iw018 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Du0 du0 = (Du0) Uo0.a(parcel, Du0.CREATOR);
                IBinder strongBinder = parcel.readStrongBinder();
                if (strongBinder != null) {
                    IInterface iInterfaceQueryLocalInterface = strongBinder.queryLocalInterface("com.google.android.gms.measurement.internal.IUploadBatchesCallback");
                    c2564tq0 = iInterfaceQueryLocalInterface instanceof InterfaceC2754vq0 ? (InterfaceC2754vq0) iInterfaceQueryLocalInterface : new C2564tq0(strongBinder, "com.google.android.gms.measurement.internal.IUploadBatchesCallback");
                }
                Uo0.d(parcel);
                p(c1531iw018, du0, c2564tq0);
                parcel2.writeNoException();
                return true;
            case 30:
                C1531iw0 c1531iw019 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Sn0 sn0 = (Sn0) Uo0.a(parcel, Sn0.CREATOR);
                Uo0.d(parcel);
                e(c1531iw019, sn0);
                parcel2.writeNoException();
                return true;
            case 31:
                C1531iw0 c1531iw020 = (C1531iw0) Uo0.a(parcel, C1531iw0.CREATOR);
                Bundle bundle3 = (Bundle) Uo0.a(parcel, Bundle.CREATOR);
                IBinder strongBinder2 = parcel.readStrongBinder();
                if (strongBinder2 != null) {
                    IInterface iInterfaceQueryLocalInterface2 = strongBinder2.queryLocalInterface("com.google.android.gms.measurement.internal.ITriggerUrisCallback");
                    c2280qq0 = iInterfaceQueryLocalInterface2 instanceof InterfaceC2469sq0 ? (InterfaceC2469sq0) iInterfaceQueryLocalInterface2 : new C2280qq0(strongBinder2, "com.google.android.gms.measurement.internal.ITriggerUrisCallback");
                }
                Uo0.d(parcel);
                m(c1531iw020, bundle3, c2280qq0);
                parcel2.writeNoException();
                return true;
        }
    }

    public final void C(Runnable runnable) {
        Preconditions.checkNotNull(runnable);
        C1051dv0 c1051dv0 = this.d;
        if (c1051dv0.c().y()) {
            runnable.run();
        } else {
            c1051dv0.c().D(runnable);
        }
    }

    public final void D(C1531iw0 c1531iw0) {
        Preconditions.checkNotNull(c1531iw0);
        String str = c1531iw0.l;
        Preconditions.checkNotEmpty(str);
        E(str, false);
        this.d.j0().w(c1531iw0.m);
    }

    public final void E(String str, boolean z) {
        boolean zIsEmpty = TextUtils.isEmpty(str);
        C1051dv0 c1051dv0 = this.d;
        if (zIsEmpty) {
            c1051dv0.b().f.b("Measurement Service called without app package");
            throw new SecurityException("Measurement Service called without app package");
        }
        if (z) {
            try {
                if (this.e == null) {
                    boolean z2 = true;
                    if (!"com.google.android.gms".equals(this.f) && !UidVerifier.isGooglePlayServicesUid(c1051dv0.l.a, Binder.getCallingUid()) && !GoogleSignatureVerifier.getInstance(c1051dv0.l.a).isUidGoogleSigned(Binder.getCallingUid())) {
                        z2 = false;
                    }
                    this.e = Boolean.valueOf(z2);
                }
                if (this.e.booleanValue()) {
                    return;
                }
            } catch (SecurityException e) {
                c1051dv0.b().f.c(Nq0.A(str), "Measurement Service called with invalid calling package. appId");
                throw e;
            }
        }
        if (this.f == null && GooglePlayServicesUtilLight.uidHasPackageName(c1051dv0.l.a, Binder.getCallingUid(), str)) {
            this.f = str;
        }
        if (str.equals(this.f)) {
            return;
        }
        throw new SecurityException("Unknown calling package name '" + str + "'.");
    }

    public final void F(Runnable runnable) {
        Preconditions.checkNotNull(runnable);
        C1051dv0 c1051dv0 = this.d;
        if (c1051dv0.c().y()) {
            runnable.run();
        } else {
            c1051dv0.c().B(runnable);
        }
    }

    @Override // o.InterfaceC2185pq0
    public final String b(C1531iw0 c1531iw0) {
        D(c1531iw0);
        C1051dv0 c1051dv0 = this.d;
        try {
            return (String) c1051dv0.c().z(new Mr0(c1051dv0, c1531iw0)).get(30000L, TimeUnit.MILLISECONDS);
        } catch (InterruptedException | ExecutionException | TimeoutException e) {
            c1051dv0.b().f.d("Failed to get app instance id. appId", Nq0.A(c1531iw0.l), e);
            return null;
        }
    }

    @Override // o.InterfaceC2185pq0
    public final void c(C1531iw0 c1531iw0) {
        Preconditions.checkNotEmpty(c1531iw0.l);
        Preconditions.checkNotNull(c1531iw0.D);
        C(new Or0(this, c1531iw0, 5));
    }

    @Override // o.InterfaceC2185pq0
    public final List d(String str, String str2, String str3, boolean z) {
        E(str, true);
        C1051dv0 c1051dv0 = this.d;
        try {
            List<C2195pv0> list = (List) c1051dv0.c().z(new Sr0(this, str, str2, str3, 1)).get();
            ArrayList arrayList = new ArrayList(list.size());
            for (C2195pv0 c2195pv0 : list) {
                if (z || !C2574tv0.P(c2195pv0.c)) {
                    arrayList.add(new C1910mv0(c2195pv0));
                }
            }
            return arrayList;
        } catch (InterruptedException e) {
            e = e;
            c1051dv0.b().f.d("Failed to get user properties as. appId", Nq0.A(str), e);
            return Collections.EMPTY_LIST;
        } catch (ExecutionException e2) {
            e = e2;
            c1051dv0.b().f.d("Failed to get user properties as. appId", Nq0.A(str), e);
            return Collections.EMPTY_LIST;
        }
    }

    @Override // o.InterfaceC2185pq0
    public final void e(C1531iw0 c1531iw0, Sn0 sn0) {
        D(c1531iw0);
        F(new RunnableC0245Jl(this, c1531iw0, sn0, 9));
    }

    @Override // o.InterfaceC2185pq0
    public final void f(No0 no0, C1531iw0 c1531iw0) {
        Preconditions.checkNotNull(no0);
        D(c1531iw0);
        F(new RunnableC0245Jl(this, no0, c1531iw0, 6, false));
    }

    @Override // o.InterfaceC2185pq0
    public final void g(C1531iw0 c1531iw0) {
        D(c1531iw0);
        F(new Or0(this, c1531iw0, 2));
    }

    @Override // o.InterfaceC2185pq0
    public final void h(C1531iw0 c1531iw0) {
        Preconditions.checkNotEmpty(c1531iw0.l);
        Preconditions.checkNotNull(c1531iw0.D);
        C(new Or0(this, c1531iw0, 4));
    }

    @Override // o.InterfaceC2185pq0
    public final List i(String str, String str2, C1531iw0 c1531iw0) {
        D(c1531iw0);
        String str3 = c1531iw0.l;
        Preconditions.checkNotNull(str3);
        C1051dv0 c1051dv0 = this.d;
        try {
            return (List) c1051dv0.c().z(new Sr0(this, str3, str, str2, 2)).get();
        } catch (InterruptedException | ExecutionException e) {
            c1051dv0.b().f.c(e, "Failed to get conditional user properties");
            return Collections.EMPTY_LIST;
        }
    }

    @Override // o.InterfaceC2185pq0
    public final void j(C1910mv0 c1910mv0, C1531iw0 c1531iw0) {
        Preconditions.checkNotNull(c1910mv0);
        D(c1531iw0);
        F(new RunnableC0245Jl(this, c1910mv0, c1531iw0, 8, false));
    }

    @Override // o.InterfaceC2185pq0
    public final byte[] l(String str, No0 no0) {
        Preconditions.checkNotEmpty(str);
        Preconditions.checkNotNull(no0);
        E(str, true);
        C1051dv0 c1051dv0 = this.d;
        C1984nl c1984nl = c1051dv0.b().m;
        Kr0 kr0 = c1051dv0.l;
        Eq0 eq0 = kr0.j;
        String str2 = no0.l;
        c1984nl.c(eq0.a(str2), "Log and bundle. event");
        long jNanoTime = c1051dv0.e().nanoTime() / 1000000;
        try {
            byte[] bArr = (byte[]) c1051dv0.c().A(new CallableC2471sr0(this, no0, str)).get();
            if (bArr == null) {
                c1051dv0.b().f.c(Nq0.A(str), "Log and bundle returned null. appId");
                bArr = new byte[0];
            }
            c1051dv0.b().m.e("Log and bundle processed. event, size, time_ms", kr0.j.a(str2), Integer.valueOf(bArr.length), Long.valueOf((c1051dv0.e().nanoTime() / 1000000) - jNanoTime));
            return bArr;
        } catch (InterruptedException e) {
            e = e;
            c1051dv0.b().f.e("Failed to log and bundle. appId, event, error", Nq0.A(str), kr0.j.a(no0.l), e);
            return null;
        } catch (ExecutionException e2) {
            e = e2;
            c1051dv0.b().f.e("Failed to log and bundle. appId, event, error", Nq0.A(str), kr0.j.a(no0.l), e);
            return null;
        }
    }

    @Override // o.InterfaceC2185pq0
    public final void m(C1531iw0 c1531iw0, Bundle bundle, InterfaceC2469sq0 interfaceC2469sq0) {
        D(c1531iw0);
        this.d.c().B(new RunnableC2177pm0(this, c1531iw0, bundle, interfaceC2469sq0, (String) Preconditions.checkNotNull(c1531iw0.l)));
    }

    @Override // o.InterfaceC2185pq0
    public final void n(long j, String str, String str2, String str3) {
        F(new RunnableC1213fg0(this, str2, str3, str, j, 1));
    }

    @Override // o.InterfaceC2185pq0
    public final void p(C1531iw0 c1531iw0, Du0 du0, InterfaceC2754vq0 interfaceC2754vq0) {
        D(c1531iw0);
        this.d.c().B(new RunnableC0266Kg(this, (String) Preconditions.checkNotNull(c1531iw0.l), du0, interfaceC2754vq0, 2, false));
    }

    @Override // o.InterfaceC2185pq0
    public final C1896mo0 r(C1531iw0 c1531iw0) {
        D(c1531iw0);
        String str = c1531iw0.l;
        Preconditions.checkNotEmpty(str);
        C1051dv0 c1051dv0 = this.d;
        try {
            return (C1896mo0) c1051dv0.c().A(new Mr0(this, c1531iw0, 1)).get(10000L, TimeUnit.MILLISECONDS);
        } catch (InterruptedException | ExecutionException | TimeoutException e) {
            c1051dv0.b().f.d("Failed to get consent. appId", Nq0.A(str), e);
            return new C1896mo0(null);
        }
    }

    @Override // o.InterfaceC2185pq0
    public final List s(String str, String str2, String str3) {
        E(str, true);
        C1051dv0 c1051dv0 = this.d;
        try {
            return (List) c1051dv0.c().z(new Sr0(this, str, str2, str3, 3)).get();
        } catch (InterruptedException | ExecutionException e) {
            c1051dv0.b().f.c(e, "Failed to get conditional user properties as");
            return Collections.EMPTY_LIST;
        }
    }

    @Override // o.InterfaceC2185pq0
    public final void t(C1531iw0 c1531iw0) {
        String str = c1531iw0.l;
        Preconditions.checkNotEmpty(str);
        E(str, false);
        F(new Or0(this, c1531iw0, 3));
    }

    @Override // o.InterfaceC2185pq0
    public final void u(C1531iw0 c1531iw0) {
        D(c1531iw0);
        F(new Or0(this, c1531iw0, 1));
    }

    @Override // o.InterfaceC2185pq0
    public final void w(C1531iw0 c1531iw0) {
        D(c1531iw0);
        F(new Or0(this, c1531iw0, 0));
    }

    @Override // o.InterfaceC2185pq0
    public final List x(String str, String str2, boolean z, C1531iw0 c1531iw0) {
        D(c1531iw0);
        String str3 = c1531iw0.l;
        Preconditions.checkNotNull(str3);
        C1051dv0 c1051dv0 = this.d;
        try {
            List<C2195pv0> list = (List) c1051dv0.c().z(new Sr0(this, str3, str, str2, 0)).get();
            ArrayList arrayList = new ArrayList(list.size());
            for (C2195pv0 c2195pv0 : list) {
                if (z || !C2574tv0.P(c2195pv0.c)) {
                    arrayList.add(new C1910mv0(c2195pv0));
                }
            }
            return arrayList;
        } catch (InterruptedException e) {
            e = e;
            c1051dv0.b().f.d("Failed to query user properties. appId", Nq0.A(str3), e);
            return Collections.EMPTY_LIST;
        } catch (ExecutionException e2) {
            e = e2;
            c1051dv0.b().f.d("Failed to query user properties. appId", Nq0.A(str3), e);
            return Collections.EMPTY_LIST;
        }
    }

    @Override // o.InterfaceC2185pq0
    public final void y(Bundle bundle, C1531iw0 c1531iw0) {
        D(c1531iw0);
        String str = c1531iw0.l;
        Preconditions.checkNotNull(str);
        F(new RunnableC0266Kg(this, bundle, str, c1531iw0, 4, false));
    }

    @Override // o.InterfaceC2185pq0
    public final void z(C1531iw0 c1531iw0) {
        Preconditions.checkNotEmpty(c1531iw0.l);
        Preconditions.checkNotNull(c1531iw0.D);
        C(new Or0(this, c1531iw0, 6));
    }
}
