Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 0af9ac4

Browse files
author
tiann
committed
fix the package base directory more gracefully.
1 parent 3697149 commit 0af9ac4

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ publish {
174174
userOrg = 'twsxtd'//
175175
groupId = "me.weishu.exposed"
176176
artifactId = "exposed-xposedapi"
177-
publishVersion = "0.4.2"
177+
publishVersion = "0.4.4"
178178
desc = 'Xposed Wrapper in non-root environment(The Xposed API)'
179179
website = 'https://github.com/android-hacker/exposed'
180180
}

app/src/main/java/de/robv/android/xposed/XSharedPreferences.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ public final class XSharedPreferences implements SharedPreferences {
3838

3939
static {
4040
if (System.getProperty("vxp") != null) {
41-
// TODO: remove this dirty and fast solution.
42-
sPackageBaseDirectory = new File("/data/user/0/io.va.exposed/virtual/data/user/0");
41+
sPackageBaseDirectory = new File(System.getProperty("vxp_user_dir"));
4342
}
4443
}
4544

0 commit comments

Comments
 (0)