mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-26 03:46:49 +01:00
Fossil HR: fixed bug with unknown data
This commit is contained in:
parent
1505c355ce
commit
60aaccb15f
@ -94,11 +94,15 @@ public class ActivityFileParser {
|
||||
break;
|
||||
case (byte) 0xE2:
|
||||
byte type = buffer.get();
|
||||
int timestamp = buffer.getInt();
|
||||
short duration = buffer.getShort();
|
||||
short minutesOffset = buffer.getShort();
|
||||
if (type == 0x04) {
|
||||
int timestamp = buffer.getInt();
|
||||
short duration = buffer.getShort();
|
||||
short minutesOffset = buffer.getShort();
|
||||
this.currentTimestamp = timestamp;
|
||||
}else if(type == 0x09){
|
||||
byte[] args = new byte[2];
|
||||
buffer.get(args);
|
||||
// dunno what to do with that
|
||||
}
|
||||
break;
|
||||
case (byte) 0xDD:
|
||||
|
Loading…
Reference in New Issue
Block a user