Skip to content

Commit

Permalink
[VXP]: fix multi-user crash.
Browse files Browse the repository at this point in the history
  • Loading branch information
tiann committed Jun 26, 2018
1 parent 1d00c4a commit 9b9222e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions VirtualApp/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ android {
applicationId "io.va.exposed"
minSdkVersion 21
targetSdkVersion 23
versionCode 120
versionName "0.12.0"
versionCode 121
versionName "0.12.1"
multiDexEnabled false
android {
defaultConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ private void bindApplicationNoCheck(String packageName, String processName, Cond
if (enableXposed) {
VLog.i(TAG, "Xposed is enabled.");
ClassLoader originClassLoader = context.getClassLoader();
ExposedBridge.initOnce(context, data.appInfo, originClassLoader);
ExposedBridge.initOnce(context, data.appInfo, originClassLoader, getUserId(vuid));
List<InstalledAppInfo> modules = VirtualCore.get().getInstalledApps(0);
for (InstalledAppInfo module : modules) {
ExposedBridge.loadModule(module.apkPath, module.getOdexFile().getParent(), module.libPath,
Expand Down

0 comments on commit 9b9222e

Please sign in to comment.