Merge code

This commit is contained in:
2022-06-01 05:15:19 +08:00
parent 5697a7c780
commit 973b3aa98f
2 changed files with 4 additions and 4 deletions

View File

@@ -64,13 +64,13 @@ object FrameworkHooker : YukiBaseHooker() {
)
/** 已忽略错误的 APP 数组 - 直到重新解锁 */
private var ignoredErrorsIfUnlockApps = hashSetOf<String>()
private var ignoredErrorsIfUnlockApps = HashSet<String>()
/** 已忽略错误的 APP 数组 - 直到重新启动 */
private var ignoredErrorsIfRestartApps = hashSetOf<String>()
private var ignoredErrorsIfRestartApps = HashSet<String>()
/** 已记录的 APP 异常信息数组 - 直到重新启动 */
private val appErrorsRecords = arrayListOf<AppErrorsInfoBean>()
private val appErrorsRecords = ArrayList<AppErrorsInfoBean>()
/** 注册 */
private fun register() {

View File

@@ -56,7 +56,7 @@ class AppErrorsRecordActivity : BaseActivity<ActivityAppErrorsRecordBinding>() {
private var onChanged: (() -> Unit)? = null
/** 全部的 APP 异常信息 */
private val listData = arrayListOf<AppErrorsInfoBean>()
private val listData = ArrayList<AppErrorsInfoBean>()
override fun onCreate() {
binding.titleBackIcon.setOnClickListener { onBackPressed() }