mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-12 02:45:49 +01: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:
parent
8fbc12c868
commit
b6f9faff80
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user