- 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
60 lines
1.7 KiB
Java
60 lines
1.7 KiB
Java
package com.mbridge.msdk.activity;
|
|
|
|
import android.os.Build;
|
|
import android.os.Bundle;
|
|
import com.mbridge.msdk.foundation.tools.af;
|
|
import com.mbridge.msdk.foundation.webview.BrowserView;
|
|
import com.mbridge.msdk.foundation.webview.b;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class MBCommonActivity extends DomainMBCommonActivity {
|
|
public static final /* synthetic */ int $r8$clinit = 0;
|
|
private boolean b = false;
|
|
|
|
@Override // com.mbridge.msdk.activity.DomainMBCommonActivity, android.app.Activity
|
|
public void onCreate(Bundle bundle) {
|
|
if (Build.VERSION.SDK_INT != 26) {
|
|
setRequestedOrientation(1);
|
|
}
|
|
super.onCreate(bundle);
|
|
}
|
|
|
|
@Override // android.app.Activity
|
|
public void onDestroy() {
|
|
super.onDestroy();
|
|
if (this.b) {
|
|
return;
|
|
}
|
|
BrowserView browserView = this.browserView;
|
|
if (browserView != null) {
|
|
browserView.setListener(null);
|
|
this.browserView.destroy();
|
|
}
|
|
BrowserView remove = b.a.remove(this.a);
|
|
if (remove != null) {
|
|
remove.setListener(null);
|
|
remove.destroy();
|
|
}
|
|
}
|
|
|
|
@Override // android.app.Activity
|
|
public void finish() {
|
|
BrowserView browserView = this.browserView;
|
|
if (browserView != null) {
|
|
browserView.setListener(null);
|
|
this.browserView.destroy();
|
|
}
|
|
BrowserView remove = b.a.remove(this.a);
|
|
if (remove != null) {
|
|
remove.setListener(null);
|
|
remove.destroy();
|
|
}
|
|
this.b = true;
|
|
super.finish();
|
|
}
|
|
|
|
public void testfun() {
|
|
af.b("ASDFA", "DSFASDFADSFADSFADS");
|
|
}
|
|
}
|