Skip to content

Commit db06c55

Browse files
committed
Android 11: update epic.
Signed-off-by: tiann <twsxtd@gmail.com>
1 parent 4e13b95 commit db06c55

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

VirtualApp/lib/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ dependencies {
4141
implementation fileTree(include: ['*.jar'], dir: 'libs')
4242
api("me.weishu.exposed:exposed-core:0.8.1") {
4343
exclude group: 'me.weishu', module: 'free_reflection'
44+
exclude group: 'me.weishu', module: 'epic'
4445
}
4546
implementation "me.weishu:free_reflection:3.0.1"
47+
implementation "me.weishu:epic:0.11.0"
4648
}
4749

4850
repositories {

VirtualApp/lib/src/main/java/com/lody/virtual/client/core/VirtualCore.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
import com.lody.virtual.client.ipc.VActivityManager;
4242
import com.lody.virtual.client.ipc.VPackageManager;
4343
import com.lody.virtual.client.stub.VASettings;
44-
import com.lody.virtual.helper.compat.BuildCompat;
4544
import com.lody.virtual.helper.compat.BundleCompat;
4645
import com.lody.virtual.helper.utils.BitmapUtils;
4746
import com.lody.virtual.os.VUserHandle;
@@ -399,7 +398,7 @@ public boolean isOutsidePackageVisible(String pkg) {
399398
}
400399

401400
public boolean isXposedEnabled() {
402-
return !VirtualCore.get().getContext().getFileStreamPath(".disable_xposed").exists() && !BuildCompat.isR();
401+
return !VirtualCore.get().getContext().getFileStreamPath(".disable_xposed").exists();
403402
}
404403

405404
public boolean isAppInstalled(String pkg) {

0 commit comments

Comments
 (0)