Files
rr3-apk/decompiled-community/sources/com/tapjoy/p0.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

74 lines
2.3 KiB
Java

package com.tapjoy;
import android.content.Context;
import android.util.DisplayMetrics;
import android.webkit.WebView;
import com.tapjoy.TJAdUnitConstants;
import java.util.HashMap;
import java.util.Map;
/* loaded from: classes4.dex */
public final class p0 extends TJJSBridgeDelegate {
public final /* synthetic */ TJOfferwallDiscoverView a;
public p0(TJOfferwallDiscoverView tJOfferwallDiscoverView) {
this.a = tJOfferwallDiscoverView;
}
@Override // com.tapjoy.TJJSBridgeDelegate
public final boolean fireContentError(TJError tJError) {
super.fireContentError(tJError);
if (this.a.c == null) {
return true;
}
TapjoyUtil.runOnMainThread(new m0(this, tJError));
return true;
}
@Override // com.tapjoy.TJJSBridgeDelegate
public final boolean fireContentReady() {
super.fireContentReady();
if (this.a.c == null) {
return true;
}
TapjoyUtil.runOnMainThread(new l0(this));
return true;
}
@Override // com.tapjoy.TJJSBridgeDelegate
public final Context getContext() {
return this.a.a.getContext();
}
@Override // com.tapjoy.TJJSBridgeDelegate
public final Object getData(String str, Class cls) {
return str.equalsIgnoreCase(TJAdUnitConstants.String.HTML) ? this.a.d.c : super.getData(str, cls);
}
@Override // com.tapjoy.TJJSBridgeDelegate
public final Map getOrientation() {
DisplayMetrics displayMetrics = this.a.getResources().getDisplayMetrics();
String str = displayMetrics.widthPixels > displayMetrics.heightPixels ? "landscape" : "portrait";
HashMap hashMap = new HashMap();
hashMap.put("orientation", str);
hashMap.put("width", Integer.valueOf(this.a.getWidth()));
hashMap.put("height", Integer.valueOf(this.a.getHeight()));
return hashMap;
}
@Override // com.tapjoy.TJJSBridgeDelegate
public final void getTextZoom(TJTaskHandler tJTaskHandler) {
TapjoyUtil.runOnMainThread(new n0(this, tJTaskHandler));
}
@Override // com.tapjoy.TJJSBridgeDelegate
public final WebView getWebView() {
return this.a.a;
}
@Override // com.tapjoy.TJJSBridgeDelegate
public final void setTextZoom(float f) {
TapjoyUtil.runOnMainThread(new o0(this, f));
}
}