1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 12:56:49 +01:00

Relax check for Mi1S device detection #234

This commit is contained in:
cpfeiffer 2016-03-31 21:39:51 +02:00
parent 4631df67ac
commit 66c1b3f178

View File

@ -109,7 +109,7 @@ public class DeviceInfo extends AbstractInfo {
public boolean isMili1S() { public boolean isMili1S() {
// TODO: this is probably not quite correct, but hopefully sufficient for early 1S support // TODO: this is probably not quite correct, but hopefully sufficient for early 1S support
return feature == 4 && appearance == 0 || feature == 4 && hwVersion == 4; return (feature == 4 && appearance == 0) || hwVersion == 4;
} }
public String getHwVersion() { public String getHwVersion() {