[X] I searched for similar bug reports (including closed issues) and found none was relevant.
What happened?
Opening bluetooth setting turns off bluetooth on ui only, toggling bluetooth off does not work when connected to companion app
What should happen instead?
Opening bluetooth setting should not turn off bluetooth, disabling bluetooth should disconnect from companion app
Reproduction steps
The issue could be divided in two parts:
1. When visiting the bluetooth setting and leaving without changing anything results in UI reporting bluetooth not connected (check the icon on the top right corner)
I'm intentionally saying "UI reporting bluetooth not connected" because as you can see from the video the device is still connected as Gadgetbrige it's still able to trigger the "find lost watch" routine.
2. Bluetooth does not turn off while the watch is connected to the companion app (phone)
When bluetooth is disabled the watch should disconnect from the paired device, but it does not as again Gadgetbridge is able to launch the "find lost watch" routine. It triggers off only once also Gadgetbridge also disconnects.
Verification
What happened?
Opening bluetooth setting turns off bluetooth on ui only, toggling bluetooth off does not work when connected to companion app
What should happen instead?
Opening bluetooth setting should not turn off bluetooth, disabling bluetooth should disconnect from companion app
Reproduction steps
The issue could be divided in two parts:
1. When visiting the bluetooth setting and leaving without changing anything results in UI reporting bluetooth not connected (check the icon on the top right corner)
I'm intentionally saying "UI reporting bluetooth not connected" because as you can see from the video the device is still connected as Gadgetbrige it's still able to trigger the "find lost watch" routine.
https://github.com/InfiniTimeOrg/InfiniTime/assets/7011942/a30f46df-505b-4053-a4a1-1d59987fc433
2. Bluetooth does not turn off while the watch is connected to the companion app (phone)
When bluetooth is disabled the watch should disconnect from the paired device, but it does not as again Gadgetbridge is able to launch the "find lost watch" routine. It triggers off only once also Gadgetbridge also disconnects.
https://github.com/InfiniTimeOrg/InfiniTime/assets/7011942/06bcf135-3112-46a4-8f99-4d4c4a1cef45
P.S.: sorry for my frustrating mis-clicks, poor quality and overall shakiness of the videos, I'm only hoping to help :smile:
More details?
I'd gladly make a PR but my day job is taking all my time at the moment.
Version
1.14.0 but, did not test in previous versions
Companion app
Gadgetbridge