fixed download location

This commit is contained in:
Christian Schabesberger 2016-03-25 19:01:22 +01:00
parent 287fd0bf1e
commit c05d9303a9
5 changed files with 26 additions and 24 deletions

View file

@ -57,7 +57,7 @@ public class App extends Application {
/**
* Set the proxy settings based on whether Tor should be enabled or not.
*/
static void configureTor(boolean enabled) {
public static void configureTor(boolean enabled) {
useTor = enabled;
if (useTor) {
NetCipher.useTor();
@ -66,13 +66,13 @@ public class App extends Application {
}
}
static void checkStartTor(Context context) {
public static void checkStartTor(Context context) {
if (useTor) {
OrbotHelper.requestStartTor(context);
}
}
static boolean isUsingTor() {
public static boolean isUsingTor() {
return useTor;
}
}