mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
add option to force enable or disable bluetooth adapter
This commit is contained in:
@@ -326,8 +326,8 @@ public class SettingsFragment extends PreferenceFragmentCompat
|
||||
}
|
||||
|
||||
private void enableOrDisableBluetooth(boolean enable) {
|
||||
if (enable) eventBus.broadcast(new EnableBluetoothEvent());
|
||||
else eventBus.broadcast(new DisableBluetoothEvent());
|
||||
if (enable) eventBus.broadcast(new EnableBluetoothEvent(true));
|
||||
else eventBus.broadcast(new DisableBluetoothEvent(true));
|
||||
}
|
||||
|
||||
private void storeTorSettings(final int torSetting) {
|
||||
|
||||
Reference in New Issue
Block a user