diff --git a/module/build.gradle b/module/build.gradle index 361b31ff..2e76e1ea 100644 --- a/module/build.gradle +++ b/module/build.gradle @@ -9,8 +9,8 @@ def apiVersion = 7 def moduleProp = [ id : "riru-core", name : "Riru (Riru - Core)", - version : "v21.2", - versionCode: "35", + version : "v21.3", + versionCode: "36", author : "Rikka", description: "Inject zygote process by replace libmemtrack.so, provide interface to other Riru modules." ] diff --git a/module/src/main/cpp/jni_native_method.cpp b/module/src/main/cpp/jni_native_method.cpp index 0d48c149..c1f6eaa4 100644 --- a/module/src/main/cpp/jni_native_method.cpp +++ b/module/src/main/cpp/jni_native_method.cpp @@ -334,7 +334,7 @@ jint nativeForkAndSpecialize_q_alternative( instructionSet, appDataDir, isTopApp, pkgDataInfoList, whitelistedDataInfoList, bindMountAppDataDirs, bindMountAppStorageDirs); - jint res = ((nativeForkAndSpecialize_p_t *) _nativeForkAndSpecialize)( + jint res = ((nativeForkAndSpecialize_q_alternative_t *) _nativeForkAndSpecialize)( env, clazz, uid, gid, gids, runtime_flags, rlimits, mount_external, se_info, se_name, fdsToClose, fdsToIgnore, is_child_zygote, instructionSet, appDataDir, isTopApp); @@ -556,7 +556,7 @@ void nativeSpecializeAppProcess_q_alternative( startChildZygote, instructionSet, appDataDir, isTopApp, pkgDataInfoList, whitelistedDataInfoList, bindMountAppDataDirs, bindMountAppStorageDirs); - ((nativeSpecializeAppProcess_q_t *) _nativeSpecializeAppProcess)( + ((nativeSpecializeAppProcess_q_alternative_t *) _nativeSpecializeAppProcess)( env, clazz, uid, gid, gids, runtimeFlags, rlimits, mountExternal, seInfo, niceName, startChildZygote, instructionSet, appDataDir, isTopApp); diff --git a/template/magisk_module/README.md b/template/magisk_module/README.md index edec9409..6512794a 100644 --- a/template/magisk_module/README.md +++ b/template/magisk_module/README.md @@ -8,6 +8,10 @@ See [https://github.com/RikkaApps/Riru](https://github.com/RikkaApps/Riru) for m ## Changelog +### v21.3 (36) (2020-07-01) + +- Support custom ROMs with isTopApp changes backported (#106) + ### v21.2 (35) (2020-05-08) - Works on Android R DP4