1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-28 01:24:05 +02:00

Huawei: Add soccer and roller skating workout types

Roller skating is set as generic exercise pending #3852.

Users can retroactively set this through the reparse workout data
button in the developer settings.
This commit is contained in:
Martin.JM 2024-07-01 21:36:11 +02:00 committed by José Rebelo
parent 8fbc12c868
commit b6f9faff80

View File

@ -140,6 +140,8 @@ public class HuaweiWorkoutGbParser {
return ActivityKind.TYPE_BADMINTON;
case 130:
return ActivityKind.TYPE_EXERCISE; // TODO: Tennis
case 131:
return ActivityKind.TYPE_SOCCER;
case 132:
return ActivityKind.TYPE_BASKETBALL;
case 133:
@ -148,6 +150,8 @@ public class HuaweiWorkoutGbParser {
return ActivityKind.TYPE_ELLIPTICAL_TRAINER;
case 135:
return ActivityKind.TYPE_ROWING_MACHINE;
case 163:
return ActivityKind.TYPE_EXERCISE; // TODO: Roller skating
case 173:
return ActivityKind.TYPE_EXERCISE; // TODO: Laser tag
case 177: