package com.google.android.play.core.assetpacks;

import android.os.Bundle;
import android.os.RemoteException;
import com.google.android.gms.tasks.TaskCompletionSource;
import java.util.ArrayList;
import java.util.List;

/* loaded from: classes3.dex */
final class d extends rj.i0 {

    /* renamed from: q, reason: collision with root package name */
    final /* synthetic */ List f13835q;

    /* renamed from: r, reason: collision with root package name */
    final /* synthetic */ TaskCompletionSource f13836r;

    /* renamed from: s, reason: collision with root package name */
    final /* synthetic */ s f13837s;

    /* JADX INFO: Access modifiers changed from: package-private */
    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public d(s sVar, TaskCompletionSource taskCompletionSource, List list, TaskCompletionSource taskCompletionSource2) {
        super(taskCompletionSource);
        this.f13835q = list;
        this.f13836r = taskCompletionSource2;
        this.f13837s = sVar;
    }

    /* JADX WARN: Type inference failed for: r1v3, types: [android.os.IInterface, rj.y] */
    @Override // rj.i0
    protected final void a() {
        rj.h0 h0Var;
        rj.s0 s0Var;
        String str;
        Bundle g10;
        ArrayList t10 = s.t(this.f13835q);
        try {
            s0Var = this.f13837s.f14063d;
            ?? e10 = s0Var.e();
            str = this.f13837s.f14060a;
            g10 = s.g();
            e10.F(str, t10, g10, new l(this.f13837s, this.f13836r));
        } catch (RemoteException e11) {
            List list = this.f13835q;
            h0Var = s.f14058g;
            h0Var.c(e11, "cancelDownloads(%s)", list);
        }
    }
}
