mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 09:45:19 +08:00
Update version to 1.0.77
This commit is contained in:
@@ -10,7 +10,7 @@ ext {
|
||||
devUser = "fankesyooni"
|
||||
userEmail = "qzmmcn@163.com"
|
||||
groupId = "com.highcapable.yukihookapi"
|
||||
apiVersion = "1.0.76"
|
||||
apiVersion = "1.0.77"
|
||||
repoName = "YukiHookAPI"
|
||||
repoDescription = "An efficient Kotlin version of the Xposed Hook API."
|
||||
licenceName = "MIT License"
|
||||
|
@@ -568,7 +568,7 @@ fun any(): Any?
|
||||
|
||||
<b>变更记录</b>
|
||||
|
||||
`v1.0.76` `新增`
|
||||
`v1.0.77` `新增`
|
||||
|
||||
<b>功能描述</b>
|
||||
|
||||
|
@@ -6,7 +6,7 @@ open class ModuleApplication: Application()
|
||||
|
||||
<b>变更记录</b>
|
||||
|
||||
`v1.0.76` `新增`
|
||||
`v1.0.77` `新增`
|
||||
|
||||
<b>功能描述</b>
|
||||
|
||||
@@ -69,7 +69,7 @@ val appContext: ModuleApplication
|
||||
|
||||
<b>变更记录</b>
|
||||
|
||||
`v1.0.76` `新增`
|
||||
`v1.0.77` `新增`
|
||||
|
||||
<b>功能描述</b>
|
||||
|
||||
|
@@ -98,7 +98,7 @@ fun getStringSet(key: String, value: Set<String>): Set<String>
|
||||
|
||||
<b>变更记录</b>
|
||||
|
||||
`v1.0.76` `新增`
|
||||
`v1.0.77` `新增`
|
||||
|
||||
<b>功能描述</b>
|
||||
|
||||
@@ -168,7 +168,7 @@ fun all(): HashMap<String, Any?>
|
||||
|
||||
<b>变更记录</b>
|
||||
|
||||
`v1.0.76` `新增`
|
||||
`v1.0.77` `新增`
|
||||
|
||||
<b>功能描述</b>
|
||||
|
||||
@@ -218,7 +218,7 @@ fun clear()
|
||||
|
||||
<b>变更记录</b>
|
||||
|
||||
`v1.0.76` `新增`
|
||||
`v1.0.77` `新增`
|
||||
|
||||
<b>功能描述</b>
|
||||
|
||||
@@ -250,7 +250,7 @@ fun putStringSet(key: String, value: Set<String>)
|
||||
|
||||
<b>变更记录</b>
|
||||
|
||||
`v1.0.76` `新增`
|
||||
`v1.0.77` `新增`
|
||||
|
||||
<b>功能描述</b>
|
||||
|
||||
|
@@ -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 {
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user