mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-24 17:45:50 +01:00
Mi Band 2: prevent detecting as Mi Band HRX in all cases, fixes HR not visible in charts
Fixes #862
This commit is contained in:
parent
72f76b60d3
commit
e2546f772a
@ -53,6 +53,11 @@ public class MiBand2HRXCoordinator extends HuamiCoordinator {
|
||||
return DeviceType.UNKNOWN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean supports(GBDevice device) {
|
||||
return getDeviceType().equals(device.getType()) && device.getName().equals("Mi Band HRX");
|
||||
}
|
||||
|
||||
@Override
|
||||
public InstallHandler findInstallHandler(Uri uri, Context context) {
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user