add the ability for briar-android to get the current country.

- this will be useful later for e.g. auto-disabling Tor
This commit is contained in:
Ximin Luo
2014-02-06 19:16:04 +00:00
parent 39b7a97267
commit 9697b351e9
4 changed files with 58 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ package org.briarproject.system;
import org.briarproject.api.system.Clock;
import org.briarproject.api.system.FileUtils;
import org.briarproject.api.system.LocationUtils;
import org.briarproject.api.system.SeedProvider;
import org.briarproject.api.system.Timer;
@@ -14,5 +15,6 @@ public class AndroidSystemModule extends AbstractModule {
bind(Timer.class).to(SystemTimer.class);
bind(SeedProvider.class).to(AndroidSeedProvider.class);
bind(FileUtils.class).to(AndroidFileUtils.class);
bind(LocationUtils.class).to(AndroidLocationUtils.class);
}
}