mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-02 23:12:57 +01:00
b0ed617072
This PR adds not only the device Bose QC35, it also adds the following autop-reconnect feature: When the headphones are turned on, the initiate a connection with the phone. With this change, GB is notified about said change, and tries to establish a connection to the newly connected device, if the appropriate device setting is set. The QC35 headpones always have NC turned on after boot, thus the main feature of this implementation is to turn off NC as soon as the headphones are turned on and connected to the phone. I am open for discussion regarding the implementation, but this seems like a good first proposal. What is missing is the ability to connect to multiple devices, since in many cases headphones can be connected to the watch simultaniously to a smartwatch or other gadget. Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2520 Co-authored-by: dakhnod <dakhnod@noreply.codeberg.org> Co-committed-by: dakhnod <dakhnod@noreply.codeberg.org> |
||
---|---|---|
.. | ||
activities | ||
adapter | ||
contentprovider | ||
database | ||
deviceevents | ||
devices | ||
entities | ||
export | ||
externalevents | ||
impl | ||
model | ||
service | ||
util | ||
GBApplication.java | ||
GBEnvironment.java | ||
GBException.java | ||
LockHandler.java | ||
Logging.java | ||
LoggingExceptionHandler.java | ||
SleepAlarmWidget.java | ||
Widget.java |