Try to use the real Bluetooth address on Android 6. #225

This commit is contained in:
akwizgran
2016-02-23 11:53:54 +00:00
parent 6b802c2ea0
commit 9789c0ff52
3 changed files with 38 additions and 8 deletions

View File

@@ -342,7 +342,7 @@ public class SettingsFragment extends BaseEventFragment implements
bluetoothSetting = !bluetoothSetting;
BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
if (adapter != null) {
AndroidUtils.setBluetooth(adapter, bluetoothSetting);
AndroidUtils.enableBluetooth(adapter, bluetoothSetting);
}
storeBluetoothSettings();
displaySettings();