Android BT: do not force BT on
It is very impolite to force BT on at start of the mobile app. We cannot know if the user is going to import dives over BT. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
ed392694db
commit
3b4091a0b9
@ -94,8 +94,8 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false),
|
||||
alreadySaving(false)
|
||||
{
|
||||
#if defined(BT_SUPPORT)
|
||||
if (localBtDevice.isValid()) {
|
||||
localBtDevice.powerOn();
|
||||
if (localBtDevice.isValid() &&
|
||||
localBtDevice.hostMode() == QBluetoothLocalDevice::HostConnectable) {
|
||||
QStringList pairedBT = getBluetoothDevices();
|
||||
|
||||
for (int i = 0; i < pairedBT.length(); i++) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user