Commit Graph
21 Commits
Author SHA1 Message Date
Thomas KuehneandJosé Rebelo 03e14edee4 switch the Java toolchain to version 21
Switch the Java toolchain to version 21 - the version shipped with current AndroidStudio releases.
Disable Java 1.8 warnings - see discussion in PR #4735
2025-05-10 13:09:46 +00:00
Thomas KuehneandJosé Rebelo 303d01530f Gradle: execute the genSources task only when necessary
Rebuilds where only elements in app/ where changed no longer re-generate the entity java files.
2025-05-10 08:46:21 +00:00
Thomas Kuehne 414d266666 Gradle: regenerate changelog_git.xml only when actually required
During one build buildGitChangelog is executed multiple times (one call per defined applicationVariant).
This slows down builds and - because it generates a resource file - blocks Android Studio's Instant Run feature.
2025-05-08 23:42:36 +02:00
Thomas KuehneandJosé Rebelo 8b92a479e1 log: use descriptive BluetoothStatusCodes instead of numeric codes 2025-05-04 19:29:53 +00:00
Thomas KuehneandJosé Rebelo f51237217c fix RequestConnectionPriorityAction waiting for a non-existing async BLE update 2025-05-04 19:28:48 +00:00
Thomas KuehneandJosé Rebelo dec5207c2d fix ServerResponseAction sending hardcoded status 0 instead of parameter value 2025-05-04 19:26:21 +00:00
Thomas Kuehne 9f9e4faa98 log: explain why ReadAction didn't try to actually perform a read 2025-05-04 19:37:51 +02:00
Thomas Kuehne 0f91b5790b fix AbstractBTLEDeviceSupport calling bleApi for unsuccessful onCharacteristicRead 2025-05-02 18:31:11 +02:00
Thomas KuehneandJosé Rebelo b6dadcb84f Ultrahuman: add basic support for breathing exercise 2025-05-02 08:30:04 +00:00
Thomas KuehneandJosé Rebelo 7019094f90 extend max # of DeviceCardActions from 1 to 3 2025-05-02 08:30:04 +00:00
Thomas KuehneandJosé Rebelo 7acca2dd47 enhance existing BtLE log messages
- add bonding information - `Connected to GATT server. (BOND_BONDED)`
- add read/write/etc property decoding - `characteristic: (Propr: Ultrahuman State): 86f61001-f706-58a0-95b2-1fb9261e4dc7 (read,notify)`
- decode common GATT errors encountered by InternalGattCallback and InternalGattServerCallback
2025-05-01 13:35:53 +00:00
Thomas KuehneandJosé Rebelo 742d5d96ab log more failure details in WriteAction when running on Tiramisu or higher 2025-05-01 13:35:39 +00:00
Thomas KuehneandJosé Rebelo b378a51656 BleNamesResolver: update service and characteristic UUIDs 2025-04-25 19:35:39 +00:00
Thomas Kuehne d5c632f243 fix to ensure targetCompatibility is effective for Android
PR #4735 inadvertently turned Android's targetCompatibility into Java's targetCompatibility thereby rendering it ineffective for Android.
As a result Android used the toolchain version (17) instead of targetCompatibility 1.8 to create *.class files.
See also: https://developer.android.com/build/jdks
2025-04-22 18:49:37 +02:00
Thomas Kuehne 0c415334da Ultrahuman: code review 2025-04-20 01:36:50 +02:00
Thomas Kuehne 205010b24b remove no-longer needed GenericHrvSummarySample 2025-04-20 01:26:54 +02:00
Thomas Kuehne ff761cf1e4 Ultrahuman optimizations
- fetch only new records instead of all records while the device is connected
- added PREF_POWER_SAVING support (disables / enables SpO2 sensing)
- added HRV visualization
- unified and secured Intent handling
- added BATTERY_CHARGING_FULL support
- honour PREF_TIME_SYNC in onSetTime
- various clean-ups
2025-04-20 01:12:57 +02:00
Thomas KuehneandJosé Rebelo db0d66d64c backport upstream BouncyCastle fixes
aligned with bcgit/bc-java@8b4326f247 :
- Explicitly set IV to zeros when no ParametersWithIV bcgit/bc-java@7c40b52f13
- Fix CCM input length check bcgit/bc-java@e73dbc53db
- pr-1775 fix incrementCounter bcgit/bc-java@7ad116c692
2025-04-17 21:04:15 +00:00
Thomas KuehneandJosé Rebelo c7f236790a Upgrade Gradle from 8.10.2 to 8.13
includes prerequisites:
- pcom.android.tools.build update from 8.6.1 to 8.9.1
- compileSdk update from 34 to 35 (targetSdk and minSdk are unchanged)
- .gradle and .java housekeeping fixes to reduce build warnings
2025-04-17 18:16:10 +00:00
Thomas KuehneandHosted Weblate 6e0259795e Translated using Weblate (German)
Currently translated at 98.1% (3564 of 3631 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2025-04-08 22:11:13 +00:00
Thomas KuehneandHosted Weblate f92aa51e2a Translated using Weblate (German)
Currently translated at 97.8% (3527 of 3604 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2025-04-08 22:10:51 +00:00