package com.tapjoy; import com.tapjoy.TJAdUnit; /* loaded from: classes4.dex */ public final class a0 implements TJAdUnit.TJAdUnitWebViewListener { public final /* synthetic */ TJCorePlacement a; public a0(TJCorePlacement tJCorePlacement) { this.a = tJCorePlacement; } @Override // com.tapjoy.TJAdUnit.TJAdUnitWebViewListener public final void onClosed() { if (this.a.i) { TJPlacementManager.decrementPlacementCacheCount(); this.a.i = false; } if (this.a.j) { TJPlacementManager.decrementPlacementPreRenderCount(); this.a.j = false; } } @Override // com.tapjoy.TJAdUnit.TJAdUnitWebViewListener public final void onContentReady() { this.a.a(); } @Override // com.tapjoy.TJAdUnit.TJAdUnitWebViewListener public final void onClick() { TJCorePlacement tJCorePlacement = this.a; TJPlacement a = tJCorePlacement.a("SHOW"); TapjoyLog.i("TJCorePlacement", "Handle onClick for placement " + tJCorePlacement.d.getPlacementName()); if (a == null || a.getListener() == null) { return; } a.getListener().onClick(a); } }