download files via Tor when Tor is enabled
DownloadManager does not let you set its proxy or change how it connects to the internet. So we have to make a custom one, unfortunately. This is a very basic downloader with none of the special sauce that makes the built-in DownloadManager handy.
This commit is contained in:
parent
b3a1a5dcc2
commit
0bb0226bc2
3 changed files with 75 additions and 9 deletions
|
|
@ -39,4 +39,8 @@ public class App extends Application {
|
|||
OrbotHelper.requestStartTor(context);
|
||||
}
|
||||
}
|
||||
|
||||
static boolean isUsingTor() {
|
||||
return useTor;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue