|
|
@@ -10,6 +10,7 @@ import android.view.KeyEvent; |
|
|
|
import androidx.annotation.NonNull; |
|
|
|
|
|
|
|
import com.apkfuns.logutils.LogUtils; |
|
|
|
import com.bonait.bnframework.CrashHandler; |
|
|
|
import com.bonait.bnframework.R; |
|
|
|
import com.bonait.bnframework.business.MainInit; |
|
|
|
import com.bonait.bnframework.common.base.BaseActivity; |
|
|
@@ -20,6 +21,7 @@ import com.bonait.bnframework.common.utils.ScreenUtils; |
|
|
|
import com.bonait.bnframework.manager.ActivityLifecycleManager; |
|
|
|
import com.bonait.bnframework.test.TestActivity; |
|
|
|
import com.lzy.okgo.OkGo; |
|
|
|
import com.qmuiteam.qmui.arch.QMUISwipeBackActivityManager; |
|
|
|
|
|
|
|
import okhttp3.OkHttpClient; |
|
|
|
import pub.devrel.easypermissions.EasyPermissions; |
|
|
@@ -39,6 +41,11 @@ public class WelcomeActivity extends BaseActivity { |
|
|
|
@Override |
|
|
|
protected void onCreate(Bundle savedInstanceState) { |
|
|
|
super.onCreate(savedInstanceState); |
|
|
|
// QMUI 框架初始化 |
|
|
|
QMUISwipeBackActivityManager.init(ConfigName.getInstance().app); |
|
|
|
//0.全局异常捕获,保存为SD卡本级目录 crash |
|
|
|
CrashHandler.getInstance().init(ConfigName.getInstance().app); |
|
|
|
|
|
|
|
setContentView(R.layout.activity_welcome); |
|
|
|
|
|
|
|
DisplayMetrics dm = new DisplayMetrics(); |
|
|
|