mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
enable bluetooth by default
This commit is contained in:
@@ -158,7 +158,7 @@ class DroidtoothPlugin implements DuplexPlugin, EventListener {
|
||||
bind();
|
||||
} else {
|
||||
// Enable Bluetooth if settings allow
|
||||
if (callback.getSettings().getBoolean(PREF_BT_ENABLE, false)) {
|
||||
if (callback.getSettings().getBoolean(PREF_BT_ENABLE, true)) {
|
||||
enableAdapter(BluetoothEnableDisableReason.COMMUNICATION);
|
||||
} else {
|
||||
LOG.info("Not enabling Bluetooth");
|
||||
|
||||
@@ -224,7 +224,7 @@ public class SettingsFragment extends PreferenceFragmentCompat
|
||||
if (LOG.isLoggable(INFO))
|
||||
LOG.info("Loading settings took " + duration + " ms");
|
||||
boolean btSetting =
|
||||
btSettings.getBoolean(PREF_BT_ENABLE, false);
|
||||
btSettings.getBoolean(PREF_BT_ENABLE, true);
|
||||
int torSetting = torSettings.getInt(PREF_TOR_NETWORK,
|
||||
PREF_TOR_NETWORK_ALWAYS);
|
||||
displaySettings(btSetting, torSetting);
|
||||
|
||||
Reference in New Issue
Block a user