mirror of
https://github.com/KitsunePie/AppErrorsTracking.git
synced 2025-09-04 18:25:19 +08:00
Merge code
This commit is contained in:
@@ -148,8 +148,13 @@ object FrameworkHooker : YukiBaseHooker() {
|
|||||||
val appName = appInfo?.let { context.packageManager.getApplicationLabel(it) } ?: packageName
|
val appName = appInfo?.let { context.packageManager.getApplicationLabel(it) } ?: packageName
|
||||||
|
|
||||||
/** 是否为 APP */
|
/** 是否为 APP */
|
||||||
val isApp = (PackageListClass.clazz.method { name = "size" }
|
val isApp = (PackageListClass.clazz.method {
|
||||||
.get(ProcessRecordClass.clazz.method { name = "getPkgList" }.get(proc).call()).int() == 1) && appInfo != null
|
name = "size"
|
||||||
|
emptyParam()
|
||||||
|
}.get(ProcessRecordClass.clazz.method {
|
||||||
|
name = "getPkgList"
|
||||||
|
emptyParam()
|
||||||
|
}.get(proc).call()).int() == 1) && appInfo != null
|
||||||
|
|
||||||
/** 是否短时内重复错误 */
|
/** 是否短时内重复错误 */
|
||||||
val isRepeating = AppErrorDialog_DataClass.clazz.field { name = "repeating" }.get(errData).boolean()
|
val isRepeating = AppErrorDialog_DataClass.clazz.field { name = "repeating" }.get(errData).boolean()
|
||||||
|
Reference in New Issue
Block a user