Skip to content
Snippets Groups Projects
Commit 7838c368 authored by akwizgran's avatar akwizgran
Browse files

Merge branch 'android-geo' into 'master'

Don't start Tor in countries that are known to block it

See the javadoc for getCurrentCountry for details on how we get the country. In particular, it seems Google already has a hidden SystemService that does this, but we can't use it so we have to code our own. Luckily the solution I came up with independently yesterday almost exactly matches what they do.

Also, the hardcoded list of countries that block tor is incomplete; I will try to find a more complete list.
parents 39b7a972 4330f4be
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment