package o; import android.util.Log; /* loaded from: classes2.dex */ public final class VvN extends AbstractRunnableC16156liu { private C16741qpn d; public VvN(C16741qpn c16741qpn) { this.d = c16741qpn; } @Override // o.AbstractRunnableC16156liu public final void e() { synchronized (this.d.g) { if (this.d.f9251o.get() > 0 && this.d.f9251o.decrementAndGet() > 0) { C16916sOz c16916sOz = this.d.c; Object[] objArr = new Object[0]; if (Log.isLoggable("PlayCore", 4)) { C16916sOz.c(c16916sOz.d, "Leaving the connection open for other ongoing calls.", objArr); } return; } C16741qpn c16741qpn = this.d; if (c16741qpn.l != null) { C16916sOz c16916sOz2 = c16741qpn.c; Object[] objArr2 = new Object[0]; if (Log.isLoggable("PlayCore", 4)) { C16916sOz.c(c16916sOz2.d, "Unbind from service.", objArr2); } C16741qpn c16741qpn2 = this.d; c16741qpn2.b.unbindService(c16741qpn2.n); this.d.i = false; this.d.l = null; this.d.n = null; } this.d.a(); } } }