Skip to content

Commit 89393ab

Browse files
committed
Use the already created odex String.
1 parent c2f295d commit 89393ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/src/com/tns/DexFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ public DexFactory(Context context)
4242

4343
ApplicationInfo applicationInfo = this.context.getApplicationInfo();
4444
this.dexPath = applicationInfo.dataDir + File.separator + SECONDARY_DEX_FOLDER_NAME + File.separator;
45-
this.odexPath = applicationInfo.dataDir + File.separator + SECONDARY_DEX_FOLDER_NAME + File.separator + "odex" + File.separator;
45+
this.odexPath = this.dexPath + "odex" + File.separator;
4646
this.proxyGenerator = new ProxyGenerator(dexPath);
4747
ProxyGenerator.IsLogEnabled = Platform.IsLogEnabled;
4848

49-
File odexDir = new File(dexPath + File.separator + "odex" + File.separator);
49+
File odexDir = new File(this.odexPath);
5050
odexDir.mkdirs();
5151

5252
this.updateDexThumbAndPurgeCache();

0 commit comments

Comments
 (0)