INNER CODE UNIT · Java
unseal
tiann/FreeReflection · library/src/main/java/me/weishu/reflection/Reflection.java:28
public static int unseal(Context context) {
if (SDK_INT < 28) {
// Below Android P, ignore
return 0;
}
// try exempt API first.
if (exemptAll()) {
return 0;
}
if (unsealByDexFile(context)) {
return 0;
}
return -1;
}
private static boolean unsealByDexFile(Context context) {