Commit Graph
100 Commits
Author SHA1 Message Date
José Rebelo 3edbb30a0c Garmin: Fix copy of manually imported files 2025-08-11 21:57:00 +01:00
José Rebelo 3d88f0322c Fix training load support on charts 2025-08-11 21:32:08 +01:00
José RebeloandJosé Rebelo 7f20bf698b Garmin: New sync protocol (experimental) 2025-08-11 22:06:05 +02:00
José Rebelo a4fe2bbd4d Polar H9: Initial support 2025-08-11 19:22:14 +01:00
José Rebelo 28fb5732a6 Remove redundant "Activity" group in activity details 2025-08-11 19:12:16 +01:00
José Rebelo 221add17f1 Garmin: Relabel total ascent / descent 2025-08-11 19:11:37 +01:00
José Rebelo eef224ca4e Garmin: Set alarms from phone 2025-08-10 23:16:09 +01:00
José RebeloandJosé Rebelo 67613a321c Garmin: Fix activity samples off by 1 minute 2025-08-10 21:11:40 +02:00
José Rebelo 2672295dfc Add ProtobufExtensions 2025-08-10 20:10:28 +01:00
José Rebelo 1bce5ce6cf Revert com.android.tools.build:gradle to v8.11.1
AGP 8.12.0 does not work on F-Droid build servers, as per
https://gitlab.com/fdroid/admin/-/issues/593

This reverts commit cf56c7b9aa.
2025-08-10 12:31:39 +01:00
José Rebelo 12b9b8a1c0 Shokz: Multipoint pairing 2025-08-10 00:22:24 +01:00
José Rebelo 1677b31f45 Amazfit Active 2 Square: Update device sources 2025-08-07 22:55:48 +01:00
José Rebelo 573134a7cd Garmin: Persist SpO2 measurement type 2025-08-07 19:07:01 +01:00
José Rebelo dd8e6533ea Colmi P80: Initial support 2025-08-06 21:39:15 +01:00
José Rebelo 912c0f1299 Blackview R60: Initial support 2025-08-06 21:36:15 +01:00
José Rebelo ff42c5568c Improve logging when connecting to scannable or unknown devices 2025-08-06 18:17:55 +01:00
José Rebelo b748c31116 Do not finish activity when pairing unsupported device 2025-08-05 19:11:40 +01:00
José Rebelo 68f9a2ebc4 Restore android-emojify
jemoji is failing to load

- This reverts commit dfc20ca8b7.
- This reverts commit 8c98a81ba5.
- This reverts commit a00da2ee25.
2025-08-04 22:33:35 +01:00
José Rebelo 742fccacec Simplify disabling permissions request screen
- Move the preference from developer to general settings
- Add a "do not ask again" button (with a warning), but only when the
  permission check is triggered on startup
2025-08-04 21:35:13 +01:00
José Rebelo c4f2468de1 Mi Band 10: Fix swimming workout parsing 2025-08-04 20:15:43 +01:00
José Rebelo 6c188910bb Remove DeviceCommunicationServiceTestCase
Remove some tests that were mostly mocks, which are now failing as of e0c043d83

The current architecture is not easily testable, and would require too
many / hacky mocks to get these tests working.
2025-08-03 22:33:50 +01:00
José Rebelo 3e036929cc Settings: Add search 2025-08-03 20:33:11 +01:00
José Rebelo b322f0ac61 Update changelog 2025-08-03 14:57:30 +01:00
José Rebelo 646f918ce5 Make device types not translatable (#5108) 2025-08-03 14:46:21 +01:00
José Rebelo f0e981525e Fix some wrong devicetype names 2025-08-03 14:18:30 +01:00
José Rebelo ae5932f069 Xiaomi: Split raw fetch details per year / human-readable types 2025-08-03 13:48:15 +01:00
José Rebelo 0c25a59664 Garmin: Add note on files needed for AGPS 2025-08-03 09:58:53 +01:00
José Rebelo 2e6f60d91b Garmin: Reverse training load support in coordinators
Having the default be "true" is better for newer devices which likely
support it, and so we disable it on the ones that we know do not support
it.
2025-08-02 23:53:53 +01:00
José Rebelo 57d6398c50 Garmin: Parse max met data and training load 2025-08-02 21:58:22 +01:00
José Rebelo f17497b140 Zepp OS: Broadcast ACTION_SET_FINISHED 2025-08-02 21:34:25 +01:00
José Rebelo 0870c24832 Add GpxRouteInstallerActivity 2025-08-02 21:34:25 +01:00
José Rebelo 96c5e570f9 MapsManager: Add onDestroy 2025-08-02 21:34:25 +01:00
José Rebelo 721acb5952 Introduce GpxRouteInstallHandler 2025-08-02 21:34:25 +01:00
José Rebelo b750f60349 Move FwAppInstallerActivity and InstallActivity to subpackage 2025-08-02 21:34:25 +01:00
José Rebelo 4997c9a901 Amazfit Active 2: Default to BTBR
Reports show it is stable, and allows for much faster transfer speeds.
2025-08-02 15:36:31 +01:00
José Rebelo 01588e5c95 icons: Update battery, star, warning 2025-08-02 10:23:56 +01:00
José Rebelo f346de0cfb Fix tests 2025-08-01 21:49:55 +01:00
José Rebelo dfc20ca8b7 Replace android-emojify with jemoji 2025-08-01 21:47:28 +01:00
José Rebelo 71804aeff2 Sort transliteration languages (#5179) 2025-08-01 21:24:08 +01:00
José Rebelo 4dcf7d852e Fossil/Skagen Hybrids: Fix some NPE crashes 2025-08-01 20:19:29 +01:00
José Rebelo cf56c7b9aa Update dependency com.android.tools.build:gradle to v8.12.0 2025-08-01 13:07:31 +01:00
José Rebelo 79aab2363c Convert DB export to WorkManager 2025-07-31 19:46:21 +01:00
José Rebelo fcfe650d36 Coospo HW807: Initial support 2025-07-31 18:41:28 +01:00
José Rebelo 802c983d41 Nothing Ear (a): Initial support 2025-07-31 18:09:52 +01:00
José Rebelo b5d40a0bf0 icons: Update battery, charts reminders, calories 2025-07-30 22:54:40 +01:00
José Rebelo 89b5264425 Shokz OpenSwim Pro: Initial support 2025-07-30 21:31:30 +01:00
José Rebelo 620a9a3841 Zepp OS: Add activity type for indoor walking 2025-07-29 23:56:36 +01:00
José Rebelo ad34fec706 Garmin Fenix 3 HR: Experimental support 2025-07-28 13:12:50 +01:00
José Rebelo 203407dadf Fix WeatherSpec unmarshall from Parcel 2025-07-28 12:33:46 +01:00
José Rebelo 4536a0f42a Garmin: Map ECG fields 2025-07-27 15:05:42 +01:00
José Rebelo 2194559cb0 Huawei: Enforce 7d calendar lookahead 2025-07-27 11:06:23 +01:00
José Rebelo 26fdfb5df0 Garmin: Fix fetch notification progress
This GBProgressNotification API is not elegant and needs to be
refactored.
2025-07-26 19:41:43 +01:00
José Rebelo 88fd21cf35 Garmin: Introduce FitRecordDataBuilder, add Builders to all messages 2025-07-26 18:30:58 +01:00
José Rebelo 48993982e8 Garmin Fenix 3: Experimental support 2025-07-26 18:30:48 +01:00
José Rebelo 8554a32f06 Redmi Smart Band 3: Disable find device and manual HR 2025-07-26 16:51:04 +01:00
José Rebelo 58a594f289 Garmin HRM 200: Initial support 2025-07-26 15:54:28 +01:00
José RebeloandJosé Rebelo 77bfeff52e Coospo H6/HW9: Experimental support 2025-07-26 16:49:21 +02:00
José RebeloandJosé Rebelo a5dc7bbd2f Generic Heart Rate Sensor: Initial support 2025-07-26 16:49:21 +02:00
José RebeloandJosé Rebelo b354a33c5a Add long-press menu on discovery activity 2025-07-26 16:25:50 +02:00
José RebeloandJosé Rebelo e579ce0b47 Allow unsupported devices to follow normal pairing process 2025-07-26 16:25:50 +02:00
José RebeloandJosé Rebelo f6316777a1 Add auth key activity 2025-07-26 16:25:50 +02:00
José Rebelo f978c7da94 Fix toast on null firmware version 2025-07-26 14:32:50 +01:00
José Rebelo 0cbc079f43 Redmi Smart Band Pro: Disable PAI (#4666) 2025-07-26 14:21:31 +01:00
José Rebelo 69b2a4b88a Mi Band 10: Fix sleep parsing 2025-07-26 13:43:40 +01:00
José RebeloandJosé Rebelo d96b7a184c NotificationListener: Allow updates for notifications with pictures 2025-07-26 10:26:09 +02:00
José Rebelo 1445f35799 Update changelog 2025-07-25 23:34:14 +01:00
José Rebelo 0647824227 Zepp OS: Hide settings for devices without display 2025-07-24 20:10:58 +01:00
José Rebelo b8eb3c2db5 Garmin: Fix sleep stages if no MONITOR files are received
Sometimes MONITOR files might fail to be fetched, and Gb would fail to
display sleep stages altogether.
2025-07-23 21:51:50 +01:00
José Rebelo 8015f92f28 Distinguish serial from BTBR in headphones support 2025-07-22 20:37:47 +01:00
José Rebelo 62dbbea218 Garmin: Display fetch and parse progress 2025-07-21 19:54:37 +01:00
José Rebelo 33c012e1b8 Amazfit Helio Ring: Experimental support 2025-07-21 17:06:35 +01:00
José Rebelo a61ef42743 Huami: Throttle calendar sync events 2025-07-20 14:54:09 +01:00
José Rebelo 424152f8c2 Amazfit Bip Lite / Bip S: Limit selected devices search to specific types
Unfortunately it is not trivial to get the GBDevice to the FirmwareInfo
objects, but we can at least limit the search to the specific DeviceType
that we know.
2025-07-20 14:49:00 +01:00
José Rebelo e0c043d838 Reduce dependency on selectedDevices
A lot of legacy code back from when Gadgetbridge only supported a single
device still depends on selectedDevices. This can lead to issues if
multiple devices of the same type are paired / connected, as it is not
possible for coordinators to know which device is being checked, and
they will simply use the first they find.
2025-07-20 14:28:38 +01:00
José Rebelo c38d00f7a3 Printer: Use onInstallApp 2025-07-20 13:51:49 +01:00
José Rebelo d2612ff8cb Add FileInstallerActivity 2025-07-20 13:50:59 +01:00
José Rebelo be91ec73ef Garmin: Fix day of week for v1 weather 2025-07-20 13:42:22 +01:00
José Rebelo 6704f1f39a Huami: Allow fetching multiple workouts in current day 2025-07-20 10:31:34 +01:00
José Rebelo 439edbd94a Xiaomi-protobuf: Add some missing protobuf settings messages 2025-07-19 22:41:18 +01:00
José Rebelo 16fd8cb651 Redmi Smart Band 3: Experimental support 2025-07-19 22:11:20 +01:00
José Rebelo 4c01beabe8 Xiaomi-protobuf: Add BLE V2 2025-07-19 22:11:06 +01:00
José Rebelo ad460a7846 Ignore Firefox call notifications (#5113) 2025-07-19 14:31:55 +01:00
José Rebelo 2aa35e2c67 Add android.permission.BLUETOOTH permission (#5053)
Keep the permission even on Android 12 and above, as some ROMs are buggy
and are unable to pair with A2DP devices
2025-07-18 11:59:59 +01:00
José Rebelo ce334fad33 onInstallApp: Add support for custom options 2025-07-18 09:03:49 +01:00
José Rebelo c3af3b3ce1 Garmin eTrex SE 2025-07-17 23:46:28 +01:00
José Rebelo da78b3abb4 Garmin: Support weather V1 2025-07-17 23:45:35 +01:00
José Rebelo 5ce9936686 GloryFit: Initial support for Oukitel BT103, Dotn P66D 2025-07-13 21:28:36 +01:00
José Rebelo c634645492 Garmin Vivosmart 3: Initial support 2025-07-13 15:49:08 +01:00
José Rebelo b31f2c95fb Amazfit Balance 2: Mark as supported
Confirmed on matrix
2025-07-13 13:22:43 +01:00
José Rebelo 5b3d5b1ef9 Garmin Vivomove Sport: Initial support 2025-07-13 13:11:56 +01:00
José Rebelo 3c76b58829 Sort device language preference alphabetically 2025-07-12 13:13:56 +01:00
José Rebelo 630995a04f Mi Band 9 Pro: Fix walking activity parsing 2025-07-10 21:38:36 +01:00
José Rebelo 1db728b400 Force upper-case preferences for device settings 2025-07-10 21:12:17 +01:00
José Rebelo 5e3a0fdced Add Goodwy and Simple SMS to sms apps 2025-07-10 21:00:09 +01:00
José Rebelo aa4f15ff31 Hide battery header if single battery 2025-07-10 20:42:35 +01:00
José Rebelo 1717a40ad6 Mi Band 9 Pro: Fix walking activity parsing 2025-07-08 21:35:32 +01:00
José Rebelo f5f2f23793 Amazfit Active 2 NFC Square: Fix recognition 2025-07-08 20:04:55 +01:00
José Rebelo c9812aac54 Enable Kotlin support 2025-07-06 21:16:45 +01:00
José Rebelo 0996b5d810 BtBRQueue: Fix unit tests
Regression in the tests introduced by 891655504

These should be refactored, as they can become quite flaky due to the
mocks.
2025-07-06 15:50:04 +01:00
José Rebelo de1e17c3a4 Fix crash when no calendar provider is available 2025-07-06 13:21:40 +01:00