akwizgran
085987febd
DO NOT MERGE: Add hacky poller method for testing discovery.
2020-03-10 15:29:05 +00:00
akwizgran
65c96514b5
Add workaround for Android UUID endianness bug.
2020-03-10 15:29:05 +00:00
akwizgran
174e678304
Don't try to add extra UUIDs to emptyList().
2020-03-10 15:29:05 +00:00
akwizgran
14d7abc823
Don't try to discover peers if discovery is already in progress.
2020-03-10 15:29:05 +00:00
akwizgran
52fca33d0b
Restart discovery if it finishes too quickly.
...
Discovery finishes quickly on some devices if called at the wrong time.
2020-03-10 15:29:05 +00:00
akwizgran
472d560dda
Wait for discovery to finish before returning discovered devices.
2020-03-10 15:29:05 +00:00
akwizgran
2522034397
Implement peer discovery for Android Bluetooth plugin.
2020-03-10 15:29:05 +00:00
akwizgran
3e6b65b1a0
Return devices from discoverDevices() method.
2020-03-10 15:29:05 +00:00
akwizgran
155746b24e
Add discovery methods to plugin API.
2020-03-10 15:29:04 +00:00
akwizgran
91caff183f
Remove unnecessary plugin lookup.
2020-03-05 14:45:35 +00:00
akwizgran
249dcda34e
Use tinted icon for plugin settings dialog.
2020-03-05 14:45:35 +00:00
akwizgran
c0a82f96a3
Show dialog from controller.
2020-03-05 14:45:35 +00:00
akwizgran
79f5229230
Add icon, title to Change Settings dialog.
2020-03-05 14:45:35 +00:00
akwizgran
02b4925609
Change Tor settings after asking for confirmation.
2020-03-05 14:45:35 +00:00
akwizgran
0664720680
Transition from one constraint set to another.
2020-03-05 14:45:35 +00:00
akwizgran
f04d32f7f2
Make entire collapsed view clickable.
2020-03-05 14:45:35 +00:00
akwizgran
dfa05fc473
Put the transport toggles in an expandable view (no animations).
2020-03-05 14:45:35 +00:00
akwizgran
cb936d95c5
Add STARTING_STOPPING state, use flags for reasons disabled.
2020-03-05 14:45:35 +00:00
akwizgran
1b402ba0c2
Close small gap between setStarted() and setDisabledBySettings().
2020-03-05 14:45:34 +00:00
akwizgran
2c6f81a120
Don't show Tor in the enabling state if it's disabled by settings.
2020-03-05 14:45:34 +00:00
akwizgran
b69eb8f203
Remove "don't connect" option from Tor network setting.
...
This has been replaced by the enable/disable setting and no longer
works.
2020-03-05 14:45:34 +00:00
Torsten Grote
e956f073ae
[android] Scroll down when nav drawer chevron is pressed
2020-03-05 14:45:34 +00:00
Torsten Grote
f4b6389163
[android] remove unused strings
2020-03-05 14:45:34 +00:00
Torsten Grote
82bfb4d95e
[android] make transport plugin toggles functional
2020-03-05 14:45:34 +00:00
Torsten Grote
93ec646634
[android] Add transport plugin toggles to NavDrawer
2020-03-05 14:45:34 +00:00
Torsten Grote
2420456f25
[bramble] Add method for enabling/disabling plugins to PluginManager
2020-03-05 14:45:32 +00:00
akwizgran
b32417e7d3
Remove another redundant call to pluginStateChanged().
2020-03-05 14:45:17 +00:00
akwizgran
9efa3cc44e
Enable LAN plugin before showing QR code.
2020-03-05 14:45:17 +00:00
akwizgran
90c8603d3a
Remove redundant call to pluginStateChanged().
2020-03-05 14:45:17 +00:00
akwizgran
1ae9750c13
Use XML to specify dependencies between settings.
2020-03-05 14:45:17 +00:00
akwizgran
b0b87fc0db
Clean up logic for enabling/disabling settings.
2020-03-05 14:45:17 +00:00
akwizgran
62cb6095ca
Don't remove old settings yet.
...
This avoids an unlikely race condition at startup, where the user opens
the settings screen before the Tor plugin has migrated the settings.
2020-03-05 14:45:17 +00:00
akwizgran
d4a64f4ee3
Enable LAN plugin in unit test.
2020-03-05 14:45:14 +00:00
akwizgran
6886551895
Enable BT plugin before showing QR code.
2020-03-05 14:44:58 +00:00
akwizgran
b50b9f8088
Small code cleanups in key agreement UI.
2020-03-05 14:44:58 +00:00
akwizgran
c1aade221a
Make REASON_USER into a generic reason code.
2020-03-05 14:44:57 +00:00
akwizgran
40f2c1923b
Add toggle setting for LAN plugin.
2020-03-05 14:44:57 +00:00
akwizgran
cfc640f4ce
Update semantics of Bluetooth setting.
...
The setting now enables/disables the plugin, not just contact
connections. The key agreement UI will need to be updated to change the
setting if the user agrees to use Bluetooth.
2020-03-05 14:44:57 +00:00
akwizgran
c865b90c6c
Convert Bluetooth setting to a switch.
2020-03-05 14:44:57 +00:00
akwizgran
4db2d0fda2
Add toggle setting for Tor plugin.
2020-03-05 14:44:57 +00:00
akwizgran
719debc36a
Remove redundant casts.
2020-03-05 14:44:57 +00:00
akwizgran
ce1b5eb0d9
Skip fetching RSS feeds if Tor is not active.
2020-03-05 14:44:57 +00:00
akwizgran
5bd9a29eab
Use amber icon when enabling transports.
2020-03-05 14:44:57 +00:00
akwizgran
e6d093c52f
Only update bridge and padding settings if network is enabled.
2020-03-05 14:44:57 +00:00
akwizgran
fe5bbfdd17
Notify callback of state changes while holding lock.
2020-03-05 14:44:57 +00:00
akwizgran
e6ac6913a7
Update javadocs for lock-safe methods.
2020-03-05 14:44:57 +00:00
akwizgran
54068a9e24
Remove redundant logging.
2020-03-05 14:44:57 +00:00
akwizgran
4bb14f51d2
Remove debug logging.
2020-03-05 14:44:57 +00:00
akwizgran
37ea59a89e
Close server socket when BT is disabled.
2020-03-05 14:44:56 +00:00
akwizgran
f19dbf144a
Remove unnecessary inner class, state checks.
2020-03-05 14:44:56 +00:00