mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-14 11:47:32 +01:00
Never show GPS or HW versions, just show FW2
The problem is that a lot of devices showed HR which had GPS, which confused people
This commit is contained in:
parent
430809cf2c
commit
6526268804
@ -62,8 +62,7 @@ public class GBDevice implements Parcelable {
|
|||||||
public static final String EXTRA_DEVICE = "device";
|
public static final String EXTRA_DEVICE = "device";
|
||||||
private static final String DEVINFO_HW_VER = "HW: ";
|
private static final String DEVINFO_HW_VER = "HW: ";
|
||||||
private static final String DEVINFO_FW_VER = "FW: ";
|
private static final String DEVINFO_FW_VER = "FW: ";
|
||||||
private static final String DEVINFO_HR_VER = "HR: ";
|
private static final String DEVINFO_FW2_VER = "FW2: ";
|
||||||
private static final String DEVINFO_GPS_VER = "GPS: ";
|
|
||||||
private static final String DEVINFO_ADDR = "ADDR: ";
|
private static final String DEVINFO_ADDR = "ADDR: ";
|
||||||
private static final String DEVINFO_ADDR2 = "ADDR2: ";
|
private static final String DEVINFO_ADDR2 = "ADDR2: ";
|
||||||
private String mName;
|
private String mName;
|
||||||
@ -562,12 +561,7 @@ public class GBDevice implements Parcelable {
|
|||||||
result.add(new GenericItem(DEVINFO_FW_VER, mFirmwareVersion));
|
result.add(new GenericItem(DEVINFO_FW_VER, mFirmwareVersion));
|
||||||
}
|
}
|
||||||
if (mFirmwareVersion2 != null) {
|
if (mFirmwareVersion2 != null) {
|
||||||
// FIXME: This is ugly
|
result.add(new GenericItem(DEVINFO_FW2_VER, mFirmwareVersion2));
|
||||||
if (mDeviceType == DeviceType.AMAZFITBIP) {
|
|
||||||
result.add(new GenericItem(DEVINFO_GPS_VER, mFirmwareVersion2));
|
|
||||||
} else {
|
|
||||||
result.add(new GenericItem(DEVINFO_HR_VER, mFirmwareVersion2));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (mAddress != null) {
|
if (mAddress != null) {
|
||||||
result.add(new GenericItem(DEVINFO_ADDR, mAddress));
|
result.add(new GenericItem(DEVINFO_ADDR, mAddress));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user