Skip to content

Commit 5a3c98a

Browse files
author
tiann
committed
[VXP]: add system environment for virtualxposed.
1 parent 7ac6f10 commit 5a3c98a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

exposed-core/src/main/java/me/weishu/exposed/ExposedBridge.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ private static void initForPackage(Context context, ApplicationInfo applicationI
145145
yieldMode = true;
146146
XposedBridge.log("yield mode take effect");
147147
}
148+
System.setProperty("vxp", "1");
148149
}
149150

150151
private static boolean patchSystemClassLoader() {

0 commit comments

Comments
 (0)