mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user