1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-09-11 00:36:32 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities
dakhnod b0ed617072 device-bose-qc35 (#2520)
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>
2021-12-27 15:37:04 +01:00
..
appmanager
charts Activity Card: React to User settings. Unify step length 2021-12-05 10:34:55 +01:00
devicesettings device-bose-qc35 (#2520) 2021-12-27 15:37:04 +01:00
AboutActivity.java
AboutUserPreferencesActivity.java Activity Card: React to User settings. Unify step length 2021-12-05 10:34:55 +01:00
AbstractFragmentPagerAdapter.java
AbstractGBActivity.java
AbstractGBFragment.java
AbstractGBFragmentActivity.java
AbstractListActivity.java
AbstractSettingsActivity.java Activity Card: React to User settings. Unify step length 2021-12-05 10:34:55 +01:00
ActivitySummariesActivity.java
ActivitySummariesChartFragment.java
ActivitySummariesFilter.java
ActivitySummariesGpsFragment.java
ActivitySummaryDetail.java
AlarmDetails.java
AndroidPairingActivity.java
AppBlacklistActivity.java
AppCompatPreferenceActivity.java
BatteryInfoActivity.java Fix battery level and voltage index on BatteryInfoActivity 2021-11-30 23:41:58 +00:00
BatteryInfoChartFragment.java
CalBlacklistActivity.java
ConfigureAlarms.java
ConfigureReminders.java Mi Band 3: Add support for Reminders 2021-12-11 22:39:18 +01:00
ControlCenterv2.java Activity Card: React to User settings. Unify step length 2021-12-05 10:34:55 +01:00
DataManagementActivity.java
DebugActivity.java Provide Add test device directly from the Discovery screen 2021-12-26 18:14:07 +01:00
DiscoveryActivity.java Provide Add test device directly from the Discovery screen 2021-12-26 18:14:07 +01:00
DiscoveryPairingPreferenceActivity.java Add Discovery setting to the Discovery Activity 2021-12-26 18:14:07 +01:00
ExternalPebbleJSActivity.java
FindPhoneActivity.java
FwAppInstallerActivity.java
GBActivity.java
GpxReceiverActivity.java
HeartRateDialog.java
HeartRateUtils.java
InstallActivity.java
NotificationFilterActivity.java
NotificationManagementActivity.java
ReminderDetails.java Mi Band 3: Add support for Reminders 2021-12-11 22:39:18 +01:00
SettingsActivity.java Add Discovery setting to the Discovery Activity 2021-12-26 18:14:07 +01:00
VibrationActivity.java
WidgetAlarmsActivity.java Activity Card: React to User settings. Unify step length 2021-12-05 10:34:55 +01:00
WidgetConfigurationActivity.java