Commit Graph
100 Commits
Author SHA1 Message Date
José Rebelo 9392413c26 Update changelog 2025-08-21 01:02:57 +01:00
José Rebelo 503b30600a Add hprof dump on OOM for debug builds 2025-08-20 16:53:51 +01:00
José Rebelo 02b731738c Maps: Avoid OOM with large maps
Adding the tile renderer layer before setting the track boundaries would
load the entire maps to memory, which would cause OOM issues for some
large maps.
2025-08-20 16:39:02 +01:00
José Rebelo a7885bb082 Zepp OS: Fix config group parsing on some firmware versions 2025-08-20 15:38:56 +01:00
José Rebelo 6a3366ebd0 Remove non-translatable strings from values-bg 2025-08-20 14:19:42 +01:00
José RebeloandHosted Weblate 9c9b8ee9c7 Translated using Weblate (Portuguese (Portugal))
Currently translated at 62.1% (2582 of 4157 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt_PT/
2025-08-20 13:12:38 +02:00
José RebeloandHosted Weblate 619aa91b1c Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (3 of 3 strings)

Translation: Freeyourgadget/fastlane metadata
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/fastlane-metadata/pt_PT/
2025-08-20 13:12:38 +02:00
José Rebelo 92e400053f Intent API: Add command for heap dump 2025-08-20 00:32:15 +01:00
José Rebelo bfd42c06e5 Zepp OS: Add health config group V3
As seen in Amazfit Helio Band.
2025-08-19 23:38:08 +01:00
José Rebelo 4755a14832 Workout details: Fix charts in groups without entries 2025-08-18 23:25:10 +01:00
José Rebelo bac147a997 Bangle.js: Fix altitude stats in workout details 2025-08-18 23:24:42 +01:00
José Rebelo aa7b98cb8b Dashboard: Fix exception when device has no SampleProvider
Unfortunately having supportsActivityTracking does not mean that devices
have a sample provider (eg. scales). We need to rework the capabilities
in the coordinators, but for now avoid the NPE when the sample provider
does not exist.
2025-08-18 22:01:12 +01:00
José Rebelo 5e7ddd8b9b Garmin: Download files from new sync protocol notifications 2025-08-18 21:08:13 +01:00
José Rebelo 2aa543fd77 Garmin: Allow fetching unknown files with new sync protocol 2025-08-18 21:06:07 +01:00
José Rebelo d3a5216875 Garmin Venu X1: Enable new sync protocol by default 2025-08-18 20:13:12 +01:00
José Rebelo a25cafec75 Colmi P80: Fix bluetooth name matching 2025-08-18 14:10:49 +01:00
José Rebelo 7eaa5bb76b Workout details: Adjust default charts line colors 2025-08-18 00:01:01 +01:00
José Rebelo d2a332836d Workout details: Built default charts for devices that do not provide them 2025-08-18 00:01:00 +01:00
José Rebelo 244b46c7f2 Workout details: Code cleanup 2025-08-18 00:01:00 +01:00
José Rebelo 95276cb96a Workout details: Add separator at the bottom of HR chart 2025-08-18 00:01:00 +01:00
José Rebelo bd7956e518 Workout details: Fix "other" section value alignment 2025-08-18 00:01:00 +01:00
José Rebelo c50da0b781 Workout details: Hide standard HR chart if device provides one 2025-08-18 00:01:00 +01:00
José Rebelo 4ca6b6a448 Allow simple 2-column entries 2025-08-18 00:01:00 +01:00
José Rebelo 5b5040ef55 Add charts to specific groups 2025-08-18 00:01:00 +01:00
José Rebelo 98e7aa2c39 Garmin: Improve failure handling in new sync protocol 2025-08-17 23:55:30 +01:00
José Rebelo 55429a8f3a Garmin: Fix transfer file handle
On the Venu X1 it goes over 255 and does not fit a byte anymore.
2025-08-17 16:19:08 +01:00
José Rebelo dde30c2c92 Garmin: Fix tests 2025-08-17 13:59:17 +01:00
José Rebelo 6d030c0040 Huawei: Fix tests 2025-08-17 13:46:02 +01:00
José Rebelo 67f016d902 Garmin: Add percentage to progress notification 2025-08-16 14:32:37 +01:00
José RebeloandJosé Rebelo e59ea27051 Refactor workout details 2025-08-16 15:19:38 +02:00
José Rebelo 4a0a437d7f Amazfit Active: Fix firmware recognition 2025-08-15 21:00:20 +01:00
José Rebelo 5d87eec63d Prevent LOG reuse from AbstractPreferenceFragment 2025-08-15 19:52:14 +01:00
José RebeloandJosé Rebelo 2ecc845a74 Introduce automatic zip export 2025-08-15 20:35:01 +02:00
José Rebelo 17dcb95963 Backup and restore file modification times 2025-08-14 21:38:15 +01:00
José Rebelo c1554762f7 Fetch weather from singleton instance
As a follow-up to #5239, avoid moving around a huge amount of data
through intents.
2025-08-14 18:25:12 +01:00
José Rebelo 7fe1066be1 Improve clarity on zip export/import error 2025-08-13 23:26:44 +01:00
José Rebelo 4b2fab61a8 Fix OOM crash when exporting large database (#5238) 2025-08-13 22:52:12 +01:00
José Rebelo 263c9137a7 Amazfit Active: Fix firmware recognition 2025-08-12 22:02:00 +01:00
José Rebelo a44c9036b2 Fix settings activities padding 2025-08-12 14:53:06 +01:00
José Rebelo 71606f1430 Use File.separator to build paths 2025-08-12 12:17:53 +01:00
José Rebelo 2339242c33 Garmin: Fix activity fetch getting stuck on error
If fetch unknown files was enabled, an INDEX_UNKNOWN might sometimes be
received for some of the files, which would make the activity fetch get
stuck as we do not check the isDownloading() state anymore.
2025-08-12 11:01:32 +01:00
José Rebelo 2c362412ea Garmin: Ignore empty monitor samples 2025-08-11 21:58:49 +01:00
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