mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +01:00
#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
Block a user