parent
12760fb010
commit
725656f833
|
|
@ -89,8 +89,8 @@ class MainApplication : Application() {
|
|||
|
||||
mainApplication.updateNotificationChannels()
|
||||
//错误日志上传捕获
|
||||
val crashCatchHandler: CrashCatchHandler = CrashCatchHandler.getInstance() //获得单例
|
||||
crashCatchHandler.init(mainApplication) //初始化,传入context
|
||||
// val crashCatchHandler: CrashCatchHandler = CrashCatchHandler.getInstance() //获得单例
|
||||
// crashCatchHandler.init(mainApplication) //初始化,传入context
|
||||
if (DeviceID.supportedOAID(mainApplication)) {
|
||||
// 获取OAID/AAID,异步回调
|
||||
DeviceID.getOAID(mainApplication, object : IGetter {
|
||||
|
|
|
|||
|
|
@ -263,11 +263,6 @@ open class HomeFragment : BaseFragment(), CoroutineScope by CoroutineScope(Dispa
|
|||
|
||||
}
|
||||
tvGlobalMode.setOnClickListener {
|
||||
if (!clashRunning) {
|
||||
RxToast.info(resources.getString(R.string.OpenSwitchingSourceModel))
|
||||
return@setOnClickListener
|
||||
}
|
||||
|
||||
val getIsGlo= MMKV.defaultMMKV().decodeBool(BZYConstants.MMKV_KEY_GLOBAL_MODEL, false)
|
||||
Log.d("clGlobalModel ==>${getIsGlo}")
|
||||
if (!getIsGlo) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue