mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 01:55:50 +01:00
Fossil Hybrid HR: Fix error in app version detection
This commit is contained in:
parent
951772626c
commit
75a645d585
@ -38,11 +38,10 @@ public class ApplicationsListRequest extends FileLookupAndGetRequest{
|
||||
buffer.get(); // null byte
|
||||
byte handle = buffer.get();
|
||||
int hash = buffer.getInt();
|
||||
String version = String.format("%d.%d", buffer.get(), buffer.get());
|
||||
buffer.get(); // unknown
|
||||
int version_minor = buffer.get();
|
||||
int version_major = buffer.get();
|
||||
buffer.get(); // unknown
|
||||
String version = String.format("%d.%d", version_major, version_minor);
|
||||
|
||||
applicationInfos.add(new ApplicationInformation(
|
||||
name,
|
||||
version,
|
||||
|
Loading…
Reference in New Issue
Block a user