package c.f.g;

import android.os.Handler;
import c.f.g.k;

/* JADX INFO: compiled from: CallbackWithHandler.java */
/* JADX INFO: loaded from: classes.dex */
public class d {
    public final n a;

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

    public d(n nVar, Handler handler) {
        this.a = nVar;
        this.f1356b = handler;
    }

    public void a(k.a aVar) {
        int i2 = aVar.f1372b;
        if (!(i2 == 0)) {
            this.f1356b.post(new c(this, this.a, i2));
        } else {
            this.f1356b.post(new b(this, this.a, aVar.a));
        }
    }
}
