Skip to content

Commit f33ceb6

Browse files
authored
set network configuration only for API30
1 parent 877c6ae commit f33ceb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

VirtualApp/lib/src/main/java/com/lody/virtual/client/VClientImpl.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@ private void bindApplicationNoCheck(String packageName, String processName, Cond
344344
} else {
345345
VLog.w(TAG, "Xposed is disable..");
346346
}
347-
348-
ApplicationConfig.setDefaultInstance.call(new Object[] { null });
347+
if (Build.VERSION.SDK_INT >= 30)
348+
ApplicationConfig.setDefaultInstance.call(new Object[] { null });
349349
mInitialApplication = LoadedApk.makeApplication.call(data.info, false, null);
350350

351351
// ExposedBridge.patchAppClassLoader(context);

0 commit comments

Comments
 (0)