akwizgran
4f2f145ab6
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-01-20 15:12:37 +00:00
akwizgran
c945b3f611
Convert Bluetooth setting to a switch.
2020-01-20 15:12:37 +00:00
akwizgran
0940b8d5b9
Add toggle setting for Tor plugin.
2020-01-20 15:12:37 +00:00
akwizgran
dac21cb3a0
Remove redundant casts.
2020-01-20 15:00:44 +00:00
akwizgran
9bfbb4d02d
Notify callback of state changes while holding lock.
2020-01-20 15:00:16 +00:00
akwizgran
2689e5f361
Update javadocs for lock-safe methods.
2020-01-20 14:48:33 +00:00
akwizgran
d7d8af7e32
Remove redundant logging.
2020-01-20 14:03:12 +00:00
akwizgran
8db481a17a
Remove debug logging.
2020-01-17 12:38:43 +00:00
akwizgran
2b9ffc7fbe
Close server socket when BT is disabled.
2020-01-17 12:38:03 +00:00
akwizgran
0a5f93edf9
Remove unnecessary inner class, state checks.
2020-01-16 13:08:16 +00:00
akwizgran
0aada89625
Reset backoff before notifying of new state.
...
The new state may cause the poller to poll the
plugin. Let's avoid a race between updating and
querying the polling interval.
2020-01-16 13:01:41 +00:00
akwizgran
549cf4e2be
Move to enabling state earlier in Tor startup.
2020-01-16 12:38:34 +00:00
akwizgran
c6981fb243
Add TransportStateEvent, rename existing events.
2020-01-16 11:54:28 +00:00
akwizgran
10791aea49
Ensure server socket is closed.
2020-01-16 11:35:32 +00:00
akwizgran
1c98d8f12a
Add method for getting reason why plugin is disabled.
2020-01-16 11:05:36 +00:00
akwizgran
6bce4b76d2
Fix test expectations.
2020-01-16 11:05:02 +00:00
akwizgran
c7565cb93e
Rename available/unavailable states.
2020-01-16 09:58:12 +00:00
akwizgran
32288c376b
Update tests.
2020-01-16 09:47:49 +00:00
akwizgran
1e7a1670dd
If adapter is disabled, forget that we enabled it.
2020-01-15 17:51:18 +00:00
akwizgran
850ad18a36
Check that server sockets are closed as expected.
2020-01-15 17:51:18 +00:00
akwizgran
5d6ed1a724
Provide more information about plugin states.
2020-01-15 17:51:18 +00:00
akwizgran
ded1792213
Avoid NPE if there's no TelephonyManager.
2020-01-14 09:51:03 +00:00
Torsten Grote
69093d6786
Merge branch '1636-compression-failure' into 'master'
...
Fix PNG compression on some phones
Closes #1636
See merge request briar/briar!1183
2020-01-08 16:06:39 +00:00
akwizgran
120fcf550d
Merge branch 'undefined' into 'master'
...
Android TV leanback banner
See merge request briar/briar!1199
2020-01-08 16:00:30 +00:00
akwizgran
5af7bbb24d
Merge branch 'master' into '1636-compression-failure'
...
# Conflicts:
# bramble-android/src/main/java/org/briarproject/bramble/util/AndroidUtils.java
2020-01-08 15:27:01 +00:00
Torsten Grote
dd3c909b31
Merge branch 'bt-address-reflection' into 'master'
...
Use reflection to get local Bluetooth address
See merge request briar/briar!1202
2020-01-08 14:05:01 +00:00
Torsten Grote
4f1e9067e3
Merge branch '68-enable-private-message-deletion-in-release-builds' into 'master'
...
Enable private message deletion in release builds
See merge request briar/briar!1206
2020-01-08 14:00:03 +00:00
akwizgran
9305532079
Enable private message deletion in release builds.
2020-01-07 12:43:10 +00:00
akwizgran
bbcdd9418c
Revert breaking change to Korean translation.
2020-01-07 12:35:25 +00:00
akwizgran
373ca0e0ea
Update translations.
2020-01-07 11:30:21 +00:00
akwizgran
e4af161db5
Merge branch 'fix-test-sensitivity-to-arrival-order' into 'master'
...
Fix sensitivity of integration tests to message arrival order
See merge request briar/briar!1205
2019-12-20 12:12:36 +00:00
akwizgran
9b37cb19f4
Reset counters before each test.
2019-12-19 17:55:56 +00:00
akwizgran
016178045f
Make integration tests less sensitive to sync order.
2019-12-19 17:45:32 +00:00
akwizgran
dae08b2af4
Merge branch '1677-note-alias-key' into 'master'
...
Add warning about alias key to headless contacts response documentation
See merge request briar/briar!1204
2019-12-17 12:26:16 +00:00
Nico Alt
3bc349e426
Add warning about alias key to headless contacts response documentation
...
Quick fix for https://code.briarproject.org/briar/briar/issues/1677 .
2019-12-16 15:30:02 +01:00
akwizgran
26144c18d8
Download test assets, fix expectations.
2019-12-12 14:25:40 +00:00
akwizgran
ace1d38966
Disable PngSuite test by default.
...
Results are device-dependent and outside our
control.
2019-12-12 14:25:40 +00:00
akwizgran
24a63b08c0
Add transparent PNG.
2019-12-12 14:25:40 +00:00
akwizgran
44411ab224
Simplify code.
2019-12-12 14:25:40 +00:00
akwizgran
6d742c554f
Test that PngSuite corrupt test images fail.
2019-12-12 14:25:40 +00:00
akwizgran
1e2ccd96a7
Remove support for GIF attachments on API < 24.
2019-12-12 14:25:40 +00:00
Torsten Grote
1000512c5b
[android] Add PngSuite images to compression test
2019-12-12 14:25:37 +00:00
Torsten Grote
c7a0f794c8
[android] Fix PNG compression with different BitmapConfig
...
Source: https://stackoverflow.com/a/6140360
2019-12-12 10:04:49 +00:00
Torsten Grote
62970cce30
[android] add instrumentation test for image compression
2019-12-12 10:04:44 +00:00
Torsten Grote
6a31274b76
Merge branch 'remove-default-methods' into 'master'
...
Replace default methods with helper classes
See merge request briar/briar!1203
2019-12-11 16:44:59 +00:00
akwizgran
5962d3c763
Replace default methods with helper classes.
...
This is a workaround for AbstractMethodErrors
thrown by on-device tests.
2019-12-11 16:28:19 +00:00
Torsten Grote
6f38e70ad2
Merge branch 'tor-0.3.5.9' into 'master'
...
Upgrade Tor to 0.3.5.9
See merge request briar/briar!1201
2019-12-11 13:10:43 +00:00
akwizgran
61324b1cb0
Catch SecurityException.
...
This isn't currently thrown, but future versions
of Android might throw it.
2019-12-11 12:03:37 +00:00
akwizgran
d1e21877b3
Use reflection to get local Bluetooth address.
...
This is expected to work on Android 8 but not 8.1+.
2019-12-11 11:48:53 +00:00
akwizgran
61293c0747
Upgrade Tor to 0.3.5.9.
2019-12-11 09:43:24 +00:00