mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-06-14 17:10:16 +02:00
[Huawei] Support workout type of cycling
Add support for workout type of (outdoor) cycling, which is 5 on the device.
This commit is contained in:
parent
7fe619c976
commit
cef277261a
|
@ -128,6 +128,8 @@ public class HuaweiWorkoutGbParser {
|
||||||
return ActivityKind.TYPE_WALKING;
|
return ActivityKind.TYPE_WALKING;
|
||||||
case 6:
|
case 6:
|
||||||
return ActivityKind.TYPE_SWIMMING;
|
return ActivityKind.TYPE_SWIMMING;
|
||||||
|
case 5:
|
||||||
|
return ActivityKind.TYPE_CYCLING;
|
||||||
case 7:
|
case 7:
|
||||||
return ActivityKind.TYPE_INDOOR_CYCLING;
|
return ActivityKind.TYPE_INDOOR_CYCLING;
|
||||||
case 129:
|
case 129:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user