Update version to 1.0.77

This commit is contained in:
2022-04-15 05:05:26 +08:00
parent 9c267a0d30
commit 751ce22ae2
6 changed files with 16 additions and 15 deletions

View File

@@ -10,10 +10,10 @@ import androidx.annotation.Keep;
import java.lang.reflect.Method;
/**
* @author weishu
* @date 2020/7/13.
* author weishu
* date 2020/7/13.
*/
@SuppressWarnings("ALL")
@SuppressWarnings("unused")
@Keep
public final class BootstrapClass {

View File

@@ -16,10 +16,10 @@ import java.lang.reflect.Method;
import dalvik.system.DexFile;
/**
* @author weishu
* @date 2018/6/7.
* author weishu
* date 2018/6/7.
*/
@SuppressWarnings("ALL")
@SuppressWarnings("unused")
@Keep
public class Reflection {
private static final String TAG = "Reflection";
@@ -32,6 +32,7 @@ public class Reflection {
* Begin
*
* @param context The Base Context
* @return int
*/
public static int unseal(Context context) {
if (SDK_INT < 28) {
@@ -50,6 +51,7 @@ public class Reflection {
return -1;
}
@SuppressWarnings({"deprecation", "ResultOfMethodCallIgnored"})
private static boolean unsealByDexFile(Context context) {
byte[] bytes = Base64.decode(DEX, Base64.NO_WRAP);
File codeCacheDir = getCodeCacheDir(context);
@@ -74,7 +76,6 @@ public class Reflection {
return false;
} finally {
if (code.exists()) {
//noinspection ResultOfMethodCallIgnored
code.delete();
}
}