package o; import android.util.Log; /* loaded from: classes2.dex */ final class olM extends BMB { private iNu b; /* JADX INFO: Access modifiers changed from: package-private */ public olM(iNu inu) { this.b = inu; } @Override // o.BMB public final void a() { synchronized (this.b.f) { if (this.b.n.get() > 0 && this.b.n.decrementAndGet() > 0) { yax yaxVar = this.b.e; Object[] objArr = new Object[0]; if (Log.isLoggable("PlayCore", 4)) { yax.d(yaxVar.d, "Leaving the connection open for other ongoing calls.", objArr); } return; } iNu inu = this.b; if (inu.k != null) { yax yaxVar2 = inu.e; Object[] objArr2 = new Object[0]; if (Log.isLoggable("PlayCore", 4)) { yax.d(yaxVar2.d, "Unbind from service.", objArr2); } iNu inu2 = this.b; inu2.a.unbindService(inu2.l); this.b.j = false; this.b.k = null; this.b.l = null; } this.b.d(); } } }