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:
parent
4631df67ac
commit
66c1b3f178
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user