(final XC_LoadPackage.LoadPackageParam lpparam)
| 84 | } |
| 85 | |
| 86 | public static Type find(final XC_LoadPackage.LoadPackageParam lpparam) { |
| 87 | for (String s : sPackageName) { |
| 88 | Class clazz = XposedHelpers.findClassIfExists(s, lpparam.classLoader); |
| 89 | if (clazz != null) { |
| 90 | log("find class:" + s); |
| 91 | Type type = getType(s); |
| 92 | log("find packerType :" + type.getName()); |
| 93 | return type; |
| 94 | } |
| 95 | } |
| 96 | return null; |
| 97 | } |
| 98 | |
| 99 | |
| 100 | private static Type getType(String packageName) { |
no test coverage detected