#15 keep the broadcast receivers enabled when device uses autoconnect
This commit is contained in:
parent
4bdeabf4ea
commit
515c456605
|
@ -66,7 +66,7 @@ public class BluetoothCommunicationService extends Service {
|
|||
GBDevice device = intent.getParcelableExtra("device");
|
||||
if (mGBDevice.equals(device)) {
|
||||
mGBDevice = device;
|
||||
GB.setReceiversEnableState(mGBDevice.isConnected(), context);
|
||||
GB.setReceiversEnableState(mDeviceSupport.useAutoConnect() || mGBDevice.isConnected(), context);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue