|
@@ -9,6 +9,7 @@ import android.os.Build
|
9
|
9
|
import androidx.core.content.ContextCompat
|
10
|
10
|
import androidx.multidex.MultiDexApplication
|
11
|
11
|
import com.hjq.toast.Toaster
|
|
12
|
+import com.kongzue.dialogx.DialogX
|
12
|
13
|
import com.xhly.corelib.Const
|
13
|
14
|
import com.xhly.corelib.utils.GsonUtils
|
14
|
15
|
import com.xhly.corelib.utils.LogShow
|
|
@@ -586,6 +587,7 @@ class ManageApplication : MultiDexApplication() {
|
586
|
587
|
val currentSpUtils by lazy { CurrentAppSharedPreferencesUtils.getInstance(this) }
|
587
|
588
|
val exitControlFlag = currentSpUtils.getParam(Const.EXIT_CONTROL, false) as Boolean
|
588
|
589
|
Toaster.init(this)
|
|
590
|
+ DialogX.init(this)
|
589
|
591
|
//如果解除管控为真,则不在执行以下代码
|
590
|
592
|
try {
|
591
|
593
|
val userBean = spUtils.getFromJson(
|