akwizgran
f3ea731565
Always wait for latch before using background handler.
2016-09-19 10:46:25 +01:00
akwizgran
28be7d5de3
Added UI thread methods to AndroidExecutor.
2016-08-20 18:41:05 +01:00
akwizgran
3680cad9b8
Merge branch 'poller-refactoring' into 'master'
...
Poller refactoring, replace Timer with ScheduledExecutorService
* Replace Timer with ScheduledExecutorService (closes #258 )
* Move automatic connection logic from PluginManager to Poller
* Reschedule polling when connections are opened or closed, making the poller more responsive to reductions in the polling interval
See merge request !180
2016-05-11 14:45:50 +00:00
akwizgran
6873dbc493
UI code cleanup.
2016-05-11 13:52:40 +01:00
Ernir Erlingsson
c93e78f178
modifications based on Akwizgran's comments
2016-05-11 11:55:17 +02:00
Ernir Erlingsson
f855c9ea28
Finished unit tests for SetupActivity and its Controller
2016-05-11 11:52:57 +02:00
Ernir Erlingsson
adb7d37f86
implementing robolectric and mockito
2016-05-11 11:52:56 +02:00
akwizgran
ff8301521c
Replaced Timer with ScheduledExecutorService. #258
2016-05-06 12:11:34 +01:00
akwizgran
c21854fbe4
Use AndroidExecutor for background tasks that make API calls.
2016-05-02 16:54:35 +01:00
Ernir Erlingsson
4da63b3800
Modified the project structure, removed module extension and went instead for a non-complete core dependency graph
2016-03-14 21:02:51 +01:00
Ernir Erlingsson
6f233070fe
Semi-encapsulated the core/api dependency graphs and created a proper structure to load eager singletons
2016-03-14 21:02:51 +01:00
Ernir Erlingsson
1be400eb84
Switched Roboguice/Guice out for Dagger 2
2016-03-14 21:01:21 +01:00
akwizgran
dd8e111b0b
Add Settings.Secure.ANDROID_ID to entropy pool.
2016-01-21 14:41:17 +00:00
akwizgran
886074e50e
Code cleanup.
2015-12-17 16:56:57 +00:00
akwizgran
912ba394c5
Refactored FileUtils.
...
Removed methods that are no longer needed for Java 6, moved the remaining method into the utils directory.
2015-12-10 15:58:52 +00:00
Ernir Erlingsson
a5fd7ff9dc
Added dependency injections for FileUtils and removed redundant code
2015-12-10 11:07:10 +01:00
Ernir Erlingsson
fb2a44c478
code re-structure, mostly nitpicks :)
2015-12-10 11:02:15 +01:00
akwizgran
79d9b4b6af
Raised minimum Android version to 2.3 (API 9). #23
2015-12-02 13:20:55 +00:00
akwizgran
027ae8340f
Whitespace-only code formatting changes.
2015-11-30 09:38:25 +00:00
akwizgran
47bd84122e
Code formatting and small cleanups.
2015-01-28 21:18:31 +00:00
akwizgran
3a70aa7653
Removed unused code from AndroidLocationUtils.
...
It's in the git history if we ever decide to use it.
2014-12-05 19:23:47 +00:00
akwizgran
b24f153704
Renamed a load of things from 'connection' to 'stream'.
2014-10-08 16:21:55 +01:00
akwizgran
bf9a9033be
Crash reports, which can be submitted by email for testing builds.
2014-05-01 17:47:59 +01:00
akwizgran
d5bf5871a9
Suppress lint warning: NewApi.
2014-05-01 15:13:00 +01:00
akwizgran
4e24dc55bf
Suppress lint warning: NewApi.
2014-05-01 15:13:00 +01:00
akwizgran
0eaf46209c
Show more debugging info: system memory, VM memory and disk space.
2014-04-10 15:48:15 +01:00
akwizgran
b5429f121a
Use application context for all background tasks.
2014-03-06 18:25:37 +00:00
akwizgran
bd7fcb16a3
ContextSingleton annotation isn't needed for immutable class.
2014-03-06 14:06:21 +00:00
akwizgran
0198e40719
Made coding style consistent with rest of project.
2014-03-06 13:16:20 +00:00
Ximin Luo
48e5d5123e
add documentation and pointer to hidden Google API
...
- fallback to SIM card before phone locale
- add disabled code to lookup the country from GPS, disabled because it requires a network call
2014-03-05 22:19:59 +00:00
Ximin Luo
9697b351e9
add the ability for briar-android to get the current country.
...
- this will be useful later for e.g. auto-disabling Tor
2014-03-05 15:13:50 +00:00
akwizgran
3842a5c70d
Code cleanup.
2014-02-04 19:05:48 +00:00
akwizgran
44bb9134d4
Reversing unintentionally pushed change: don't share Timer instances.
2014-01-16 19:31:28 +00:00
akwizgran
66619ec1e7
Use a single Timer instance.
2014-01-16 19:12:27 +00:00
akwizgran
8886d954d7
Reorganised Guice modules. Contribute entropy to pool on Linux/Android.
2014-01-14 19:33:17 +00:00