导航菜单

页面标题

页面副标题

小柿子 v1.3.8 - MBCommonActivity.java 源代码

正在查看: 小柿子 v1.3.8 应用的 MBCommonActivity.java JAVA 源代码文件

本页面展示 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;

public class MBCommonActivity extends DomainMBCommonActivity {

    public static final int f5569d = 0;

    private boolean f5570b = false;

    @Override
    public void finish() {
        BrowserView browserView = this.browserView;
        if (browserView != null) {
            browserView.setListener((BrowserView.a) null);
            this.browserView.destroy();
        }
        BrowserView browserView2 = (BrowserView) b.a.remove(this.f5560a);
        if (browserView2 != null) {
            browserView2.setListener((BrowserView.a) null);
            browserView2.destroy();
        }
        this.f5570b = true;
        super.finish();
    }

    @Override
    public void onCreate(Bundle bundle) {
        if (Build.VERSION.SDK_INT != 26) {
            setRequestedOrientation(1);
        }
        super.onCreate(bundle);
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        if (this.f5570b) {
            return;
        }
        BrowserView browserView = this.browserView;
        if (browserView != null) {
            browserView.setListener((BrowserView.a) null);
            this.browserView.destroy();
        }
        BrowserView browserView2 = (BrowserView) b.a.remove(this.f5560a);
        if (browserView2 != null) {
            browserView2.setListener((BrowserView.a) null);
            browserView2.destroy();
        }
    }

    public void testfun() {
        af.b("ASDFA", "DSFASDFADSFADSFADS");
    }
}