package ed;

import androidx.annotation.Nullable;

/* JADX INFO: loaded from: classes.dex */
public final class l {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final String f25838b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final v f25839c;

    @Nullable
    private final h taskQueue;

    public l(i iVar, String str) {
        a0 a0Var = a0.f25827a;
        this.f25837a = iVar;
        this.f25838b = str;
        this.f25839c = a0Var;
        this.taskQueue = null;
    }

    public final void a(k kVar) {
        h hVar = this.taskQueue;
        String str = this.f25838b;
        i iVar = this.f25837a;
        if (hVar != null) {
            iVar.setMessageHandler(str, kVar != null ? new tb.d(this, kVar) : null, this.taskQueue);
        } else {
            iVar.setMessageHandler(str, kVar != null ? new tb.d(this, kVar) : null);
        }
    }
}
