package bk;

import android.content.ComponentName;
import android.content.ServiceConnection;
import android.os.IBinder;

/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes3.dex */
public final class c implements ServiceConnection {

    /* renamed from: a, reason: collision with root package name */
    final /* synthetic */ d f6936a;

    /* JADX INFO: Access modifiers changed from: package-private */
    public /* synthetic */ c(d dVar, b bVar) {
        this.f6936a = dVar;
    }

    @Override // android.content.ServiceConnection
    public final void onServiceConnected(ComponentName componentName, IBinder iBinder) {
        d.f(this.f6936a).c("ServiceConnectionImpl.onServiceConnected(%s)", componentName);
        d dVar = this.f6936a;
        dVar.c().post(new f0(this, iBinder));
    }

    @Override // android.content.ServiceConnection
    public final void onServiceDisconnected(ComponentName componentName) {
        d.f(this.f6936a).c("ServiceConnectionImpl.onServiceDisconnected(%s)", componentName);
        d dVar = this.f6936a;
        dVar.c().post(new g0(this));
    }
}
