Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
v21.3
Browse files Browse the repository at this point in the history
  • Loading branch information
RikkaW committed Jul 1, 2020
1 parent 222491e commit dea6b97
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions module/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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."
]
Expand Down
4 changes: 2 additions & 2 deletions module/src/main/cpp/jni_native_method.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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);

Expand Down
4 changes: 4 additions & 0 deletions template/magisk_module/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dea6b97

Please sign in to comment.