diff --git a/app/src/main/java/top/niunaijun/blackdex/app/App.kt b/app/src/main/java/top/niunaijun/blackdex/app/App.kt index 53abbf8..52b97de 100644 --- a/app/src/main/java/top/niunaijun/blackdex/app/App.kt +++ b/app/src/main/java/top/niunaijun/blackdex/app/App.kt @@ -1,10 +1,9 @@ -package top.niunaijun.blackboxa.app +package top.niunaijun.blackdex.app import android.annotation.SuppressLint import android.app.Application import android.content.Context import com.umeng.commonsdk.UMConfigure -import top.niunaijun.blackdex.app.AppManager /** * @@ -29,12 +28,12 @@ class App : Application() { override fun attachBaseContext(base: Context?) { super.attachBaseContext(base) mContext = base!! - UMConfigure.init(base, "60b373136c421a3d97d23c29", "Github", 0, "") AppManager.doAttachBaseContext(base) } override fun onCreate() { super.onCreate() AppManager.doOnCreate(mContext) + UMConfigure.init(this, "60b373136c421a3d97d23c29", "Github", UMConfigure.DEVICE_TYPE_PHONE, null) } } \ No newline at end of file diff --git a/app/src/main/java/top/niunaijun/blackdex/app/BlackDexLoader.kt b/app/src/main/java/top/niunaijun/blackdex/app/BlackDexLoader.kt index 708718e..2e42eab 100644 --- a/app/src/main/java/top/niunaijun/blackdex/app/BlackDexLoader.kt +++ b/app/src/main/java/top/niunaijun/blackdex/app/BlackDexLoader.kt @@ -5,7 +5,6 @@ import top.niunaijun.blackbox.BlackDexCore import top.niunaijun.blackbox.app.configuration.ClientConfiguration import top.niunaijun.blackbox.utils.FileUtils import top.niunaijun.blackbox.utils.compat.BuildCompat -import top.niunaijun.blackboxa.app.App import top.niunaijun.blackdex.biz.cache.AppSharedPreferenceDelegate import java.io.File diff --git a/app/src/main/java/top/niunaijun/blackdex/view/setting/SettingFragment.kt b/app/src/main/java/top/niunaijun/blackdex/view/setting/SettingFragment.kt index 11a03be..6905224 100644 --- a/app/src/main/java/top/niunaijun/blackdex/view/setting/SettingFragment.kt +++ b/app/src/main/java/top/niunaijun/blackdex/view/setting/SettingFragment.kt @@ -7,7 +7,7 @@ import androidx.preference.PreferenceFragmentCompat import androidx.preference.SwitchPreferenceCompat import com.afollestad.materialdialogs.MaterialDialog import com.afollestad.materialdialogs.files.folderChooser -import top.niunaijun.blackboxa.app.App +import top.niunaijun.blackdex.app.App import top.niunaijun.blackdex.R import top.niunaijun.blackdex.app.AppManager import top.niunaijun.blackdex.app.BlackDexLoader