akwizgran
|
d8be340120
|
Use a unique log tag for each wake lock instance.
|
2020-08-07 15:09:14 +01:00 |
|
akwizgran
|
7e0d21de38
|
Add tags for wake lock holders.
|
2020-08-07 15:09:13 +01:00 |
|
akwizgran
|
1bab15baaf
|
Add fine logging for wake locks.
|
2020-08-07 15:09:13 +01:00 |
|
akwizgran
|
af1a91c819
|
Fix circular dependency between scheduler and wake lock manager.
|
2020-08-07 15:09:13 +01:00 |
|
akwizgran
|
b2840c1b00
|
Add method for executing a task on an executor wakefully.
|
2020-08-07 15:09:13 +01:00 |
|
akwizgran
|
942bb28701
|
Hold a wake lock while running due tasks.
|
2020-08-07 15:09:11 +01:00 |
|
akwizgran
|
94dd0a2661
|
Hold a wake lock while scheduled tasks are running.
|
2020-08-07 15:08:53 +01:00 |
|
akwizgran
|
3aa00ecb3d
|
Pass executor to scheduler.
|
2020-08-07 15:08:53 +01:00 |
|
akwizgran
|
d5395d3d01
|
Shared wake lock must be a singleton.
|
2020-08-07 15:07:48 +01:00 |
|
akwizgran
|
b6b721e3b1
|
Use a wider safety margin to allow for scheduler delays.
|
2020-08-07 15:02:50 +01:00 |
|
akwizgran
|
7cdd05fd67
|
Log a warning if the wake lock expires before it's renewed.
|
2020-08-07 15:02:49 +01:00 |
|
akwizgran
|
286f6f492c
|
Share a single OS wake lock among all holders.
|
2020-08-07 15:02:49 +01:00 |
|
akwizgran
|
eb6b4aa850
|
Move wake lock properties into factory.
|
2020-08-07 15:02:49 +01:00 |
|
akwizgran
|
d794777eb2
|
Refactor wake lock creation.
|
2020-08-07 15:02:49 +01:00 |
|
akwizgran
|
090123579d
|
Use elapsed time since boot rather than wall clock time.
|
2020-08-07 15:02:05 +01:00 |
|
akwizgran
|
f1bde4e75c
|
Fixed delay is easier to reconcile with sleeps than fixed rate.
|
2020-08-07 15:02:05 +01:00 |
|
akwizgran
|
ac80a90ef3
|
Add Android task scheduler.
|
2020-08-07 15:02:05 +01:00 |
|
akwizgran
|
dfefb88b32
|
Allow Android and headless to use different task schedulers.
|
2020-08-07 15:02:05 +01:00 |
|
akwizgran
|
86641741a0
|
Wrap scheduler in an interface.
|
2020-08-07 15:02:05 +01:00 |
|
akwizgran
|
9d96ce6db0
|
Bump version numbers for 1.2.9 release.
|
2020-07-04 22:40:58 +01:00 |
|
akwizgran
|
37f80c7682
|
Bump version numbers for 1.2.8 release.
|
2020-07-03 16:03:50 +01:00 |
|
akwizgran
|
48b1e77065
|
Use constants for default plugin settings.
|
2020-06-26 17:42:05 +01:00 |
|
akwizgran
|
0a666df164
|
Correctly handle connectivity events on IPv6-only networks.
|
2020-06-26 17:37:16 +01:00 |
|
akwizgran
|
25e50ceb10
|
Try to detect our address on an IPv6-only wifi network.
|
2020-06-26 17:37:16 +01:00 |
|
akwizgran
|
badc6da649
|
Accept any link-local IPv6 address.
This allows IPv6 to be used when providing an access point.
|
2020-06-26 17:37:16 +01:00 |
|
akwizgran
|
e065d45d16
|
Recognise unusual AP addresses.
|
2020-06-26 17:37:16 +01:00 |
|
akwizgran
|
d0c53f1310
|
Only bind to the SLAAC address of the wifi interface.
This is just a precaution - on all devices I've tested, the wifi
interface is the only one with a SLAAC address.
|
2020-06-26 17:37:16 +01:00 |
|
akwizgran
|
e1084ffadd
|
Support IPv6 SLAAC addresses.
|
2020-06-26 17:37:15 +01:00 |
|
Torsten Grote
|
0fec5d7783
|
[bramble] Add method for enabling/disabling plugins to PluginManager
|
2020-06-26 17:34:37 +01:00 |
|
akwizgran
|
03811f78fa
|
Add toggle setting for LAN plugin.
|
2020-06-26 17:34:36 +01:00 |
|
akwizgran
|
4130662e1f
|
Notify callback of state changes while holding lock.
|
2020-06-26 17:34:35 +01:00 |
|
akwizgran
|
465ba3d337
|
Remove unnecessary inner class, state checks.
|
2020-06-26 17:34:35 +01:00 |
|
akwizgran
|
242d6f8a0e
|
Move to enabling state earlier in Tor startup.
|
2020-06-26 17:34:35 +01:00 |
|
akwizgran
|
d30b250389
|
Ensure server socket is closed.
|
2020-06-26 17:34:35 +01:00 |
|
akwizgran
|
ea288b998b
|
Rename available/unavailable states.
|
2020-06-26 17:34:34 +01:00 |
|
akwizgran
|
e2d63ac6a4
|
If adapter is disabled, forget that we enabled it.
|
2020-06-26 17:34:34 +01:00 |
|
akwizgran
|
afc85cdf52
|
Check that server sockets are closed as expected.
|
2020-06-26 17:34:34 +01:00 |
|
akwizgran
|
b2a1ea84f8
|
Provide more information about plugin states.
|
2020-06-26 17:34:32 +01:00 |
|
akwizgran
|
fcc26c093b
|
Avoid NPE if there's no TelephonyManager.
|
2020-06-26 17:33:54 +01:00 |
|
akwizgran
|
b805514f70
|
Use renewable wake lock, try to guess a "safe" tag.
|
2020-06-26 14:58:06 +01:00 |
|
akwizgran
|
69d94c9f29
|
Hold a wake lock while Bluetooth connections are open.
|
2020-06-26 14:58:06 +01:00 |
|
akwizgran
|
648f26542c
|
Simple connection limiter that closes connections cleanly.
|
2020-06-26 10:57:08 +01:00 |
|
akwizgran
|
f2f278c393
|
Add timeout monitor for Bluetooth connections.
|
2020-05-08 16:22:46 +01:00 |
|
akwizgran
|
876efee1a8
|
Use keepalives to detect dead connections.
|
2020-05-08 14:21:41 +01:00 |
|
akwizgran
|
b5fe55faf3
|
Validate remote address.
|
2020-04-29 15:28:27 +01:00 |
|
akwizgran
|
346bec94e8
|
Discover contacts' BT addresses from incoming connections.
|
2020-04-28 17:45:17 +01:00 |
|
akwizgran
|
17239810c8
|
Upgrade Tor to version 0.3.5.10.
|
2020-03-25 17:09:12 +00:00 |
|
akwizgran
|
8e21068465
|
Fix misreporting of wifi status in LAN plugin.
|
2020-03-06 13:35:06 +00:00 |
|
akwizgran
|
4bdf966e67
|
Test that code_cache directory isn't deleted.
|
2020-02-25 11:23:07 +00:00 |
|
akwizgran
|
e1e67f3b2e
|
Clear the cache directory but don't delete it.
|
2020-02-25 11:18:50 +00:00 |
|