Modify remove parentheses for "android.miui.R" in YukiHookBridge

This commit is contained in:
2022-09-24 16:33:32 +08:00
parent d658a88165
commit 31352c5fd9

View File

@@ -144,7 +144,7 @@ object YukiHookBridge {
* @return [Boolean] 是否存在
*/
private fun isMiuiCatcherPatch(packageName: String?) =
(packageName == "com.miui.contentcatcher" || packageName == "com.miui.catcherpatch") && ("android.miui.R").hasClass()
(packageName == "com.miui.contentcatcher" || packageName == "com.miui.catcherpatch") && "android.miui.R".hasClass()
/**
* 当前包名是否已在指定的 [HookEntryType] 被装载