Hans-Christoph Steiner
a3d37e8b2a
make prefs called directly when needed instead of requiring refresh
...
The code was using global variables that were refreshed from the prefs on
certain occasions. That means that the global vars could easily get out of
sync with the actual values. Instead, just read the prefs directly when
the values are needed, and they will always be up-to-date.
2015-06-09 22:01:51 -04:00
Hans-Christoph Steiner
ae83f011b2
purge CMD_INIT/initialize() from TorService, an IntentService doesn't need it
...
when switching to an IntentService, a new Intent will always start the
Service, and onCreate() can be used to initialize the Service.
2015-06-09 22:01:51 -04:00
Nathan Freitas
ec24428915
fix NPE crash if VPN prepare Intent is null on boot
2015-04-13 10:24:03 -04:00
Nathan Freitas
690a8c3b69
Improved handling of VPN and Tun2Socks on Network Switch
2015-04-09 08:52:59 -04:00
Nathan Freitas
150488dd9c
fixes for onboot logic and handling
2015-04-02 23:11:04 -04:00
Nathan Freitas
cae2c7c157
don't add new task flag - will start on boot automatically
2015-03-19 10:28:37 -04:00
Nathan Freitas
dd09c6b19a
tuning boot code to work with VPN
2015-02-23 12:29:36 -05:00
Nathan Freitas
b1294f6d60
improve start on boot
2015-02-14 00:43:13 -05:00
Nathan Freitas
7c303f1589
refactoring into cleaner packages
2015-02-02 11:04:32 -05:00