- 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
42 lines
1.2 KiB
Java
42 lines
1.2 KiB
Java
package com.tapjoy;
|
|
|
|
import android.annotation.SuppressLint;
|
|
import android.content.Context;
|
|
import android.util.AttributeSet;
|
|
import android.view.GestureDetector;
|
|
import android.view.ViewGroup;
|
|
import android.webkit.WebView;
|
|
import com.tapjoy.internal.m2;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class TJWebView extends WebView {
|
|
@SuppressLint({"SetJavaScriptEnabled"})
|
|
public TJWebView(Context context) {
|
|
super(context);
|
|
setScrollContainer(false);
|
|
setVerticalScrollBarEnabled(false);
|
|
setHorizontalScrollBarEnabled(false);
|
|
new GestureDetector(new m2());
|
|
if (getSettings() != null) {
|
|
getSettings().setJavaScriptEnabled(true);
|
|
getSettings().setDomStorageEnabled(true);
|
|
getSettings().setMediaPlaybackRequiresUserGesture(false);
|
|
}
|
|
setBackgroundColor(0);
|
|
}
|
|
|
|
@Override // android.webkit.WebView
|
|
public void destroy() {
|
|
removeAllViews();
|
|
ViewGroup viewGroup = (ViewGroup) getParent();
|
|
if (viewGroup != null) {
|
|
viewGroup.removeView(this);
|
|
}
|
|
super.destroy();
|
|
}
|
|
|
|
public TJWebView(Context context, AttributeSet attributeSet) {
|
|
super(context, attributeSet);
|
|
}
|
|
}
|