diff --git a/src/org/torproject/android/service/TorBinaryInstaller.java b/src/org/torproject/android/service/TorBinaryInstaller.java index bb514228..81f6db83 100644 --- a/src/org/torproject/android/service/TorBinaryInstaller.java +++ b/src/org/torproject/android/service/TorBinaryInstaller.java @@ -241,7 +241,7 @@ public class TorBinaryInstaller implements TorServiceConstants { Runtime.getRuntime().exec("chmod "+mode+" "+abspath).waitFor(); } /** - * Asserts that the binary files are installed in the cache directory. + * Asserts that the binary files are installed in the bin directory. * @param ctx context * @param showErrors indicates if errors should be alerted * @return false if the binary files could not be installed diff --git a/src/org/torproject/android/service/TorService.java b/src/org/torproject/android/service/TorService.java index 90ec393c..071b6801 100644 --- a/src/org/torproject/android/service/TorService.java +++ b/src/org/torproject/android/service/TorService.java @@ -479,7 +479,7 @@ public class TorService extends Service implements TorServiceConstants, TorConst { appBinHome = getDir("bin",Application.MODE_PRIVATE); - appCacheHome = getCacheDir(); + appCacheHome = getDir("data",Application.MODE_PRIVATE); fileTor = new File(appBinHome, TOR_BINARY_ASSET_KEY); filePrivoxy = new File(appBinHome, PRIVOXY_ASSET_KEY);