mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-04 17:55:34 +08:00
修正文案
This commit is contained in:
@@ -289,10 +289,10 @@ class HookMain : IXposedHookLoadPackage {
|
||||
private fun XC_LoadPackage.LoadPackageParam.findAppName(instance: Any?) = try {
|
||||
findClass(ExpandedNotificationClass).getDeclaredMethod("getAppName").let {
|
||||
it.isAccessible = true
|
||||
it.invoke(instance) as? String ?: "unknown"
|
||||
it.invoke(instance) as? String ?: "<empty>"
|
||||
}
|
||||
} catch (_: Throwable) {
|
||||
"unknown"
|
||||
} catch (e: Throwable) {
|
||||
"<unknown>"
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user