1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-20 20:10:15 +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 Fossil Hybrid HR: Edit existing watchfaces from app manager cache 2021-07-19 13:43:05 +02:00
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 Add version to About screen 2020-10-24 21:55:48 +02:00
AboutUserPreferencesActivity.java Activity Card: React to User settings. Unify step length 2021-12-05 10:34:55 +01:00
AbstractFragmentPagerAdapter.java Update license headers 2020-01-09 10:44:32 +01:00
AbstractGBActivity.java Add black background to Dark Theme 2021-07-06 21:04:27 +02:00
AbstractGBFragment.java Update license headers 2020-01-09 10:44:32 +01:00
AbstractGBFragmentActivity.java Update license headers 2020-01-09 10:44:32 +01:00
AbstractListActivity.java Make Sports Activities list use Activity List style 2020-10-17 14:55:12 +02:00
AbstractSettingsActivity.java Activity Card: React to User settings. Unify step length 2021-12-05 10:34:55 +01:00
ActivitySummariesActivity.java Improve Sports Activities dashboard and Filter 2020-11-26 17:19:08 +01:00
ActivitySummariesChartFragment.java Add header-title to Activity detail 2021-03-08 09:59:14 +01:00
ActivitySummariesFilter.java Rework the Daily Widget: 2020-12-20 19:01:00 +01:00
ActivitySummariesGpsFragment.java flip and scale GPX canvas 2021-02-13 18:10:42 +01:00
ActivitySummaryDetail.java add GPX receiver via intent 2021-07-14 11:41:41 +02:00
AlarmDetails.java Fixed a bunch of warnings 2020-08-26 09:38:31 +02:00
AndroidPairingActivity.java Update license headers 2020-01-09 10:44:32 +01:00
AppBlacklistActivity.java Reworking notification management 2021-10-10 11:49:13 +02:00
AppCompatPreferenceActivity.java Migrate to androidx support libraries and bump compile SDK version 2019-01-26 16:00:56 +01:00
BatteryInfoActivity.java Fix battery level and voltage index on BatteryInfoActivity 2021-11-30 23:41:58 +00:00
BatteryInfoChartFragment.java Add support for multiple batteries per device 2021-11-02 14:37:47 +01:00
CalBlacklistActivity.java Update license headers 2020-01-09 10:44:32 +01:00
ConfigureAlarms.java Add title and description to Alarm table (currently unsued) 2020-04-24 00:31:04 +02:00
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 use '_' instead ':' in exported and imported file names 2021-07-18 18:21:00 +02:00
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 Fixed a bunch of misspellings and formatting 2020-08-26 14:37:40 +03:00
FindPhoneActivity.java Added ringtone preference setting. 2021-09-21 21:03:37 +02:00
FwAppInstallerActivity.java Added PineTime (InfiniTime) Nordic DFU support 2020-10-11 19:16:31 +03:00
GBActivity.java Update license headers 2020-01-09 10:44:32 +01:00
GpxReceiverActivity.java add GPX receiver via intent 2021-07-14 11:41:41 +02:00
HeartRateDialog.java add Heart icon (trigger heart measurement) to device action icons 2021-08-08 11:12:08 +02:00
HeartRateUtils.java Update license headers 2020-01-09 10:44:32 +01:00
InstallActivity.java Update license headers 2020-01-09 10:44:32 +01:00
NotificationFilterActivity.java Update license headers 2020-01-09 10:44:32 +01:00
NotificationManagementActivity.java Reworking notification management 2021-10-10 11:49:13 +02:00
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 Update license headers 2020-01-09 10:44:32 +01:00
WidgetAlarmsActivity.java Activity Card: React to User settings. Unify step length 2021-12-05 10:34:55 +01:00
WidgetConfigurationActivity.java show all eligeble devices in Widget Configuration Activity, fix #2170 2021-01-22 20:29:00 +01:00