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

added Hybrid HR base support

This commit is contained in:
dakhnod 2019-11-21 21:00:35 +01:00
parent e0afa0833c
commit ecc8ae9175
2 changed files with 12 additions and 0 deletions

View File

@ -233,6 +233,8 @@ public class FossilWatchAdapter extends WatchAdapter {
return true;
case "HL.0.0":
return false;
case "DN.1.0":
return true;
}
throw new UnsupportedOperationException("model " + modelNumber + " not supported");
}
@ -245,6 +247,8 @@ public class FossilWatchAdapter extends WatchAdapter {
return true;
case "HL.0.0":
return false;
case "DN.1.0":
return false;
}
throw new UnsupportedOperationException("Model " + modelNumber + " not supported");
}
@ -257,6 +261,8 @@ public class FossilWatchAdapter extends WatchAdapter {
return "Q Commuter";
case "HL.0.0":
return "Q Activist";
case "DN.1.0":
return "Hybrid HR";
}
return "unknwon Q";
}

View File

@ -410,6 +410,8 @@ public class MisfitWatchAdapter extends WatchAdapter {
return true;
case "HL.0.0":
return false;
case "DN.1.0":
return true;
}
throw new UnsupportedOperationException("Model " + modelNumber + " not supported");
}
@ -422,6 +424,8 @@ public class MisfitWatchAdapter extends WatchAdapter {
return true;
case "HL.0.0":
return false;
case "DN.1.0":
return false;
}
throw new UnsupportedOperationException("Model " + modelNumber + " not supported");
}
@ -434,6 +438,8 @@ public class MisfitWatchAdapter extends WatchAdapter {
return "Q Commuter";
case "HL.0.0":
return "Q Activist";
case "DN.1.0":
return "Hybrid HR";
}
return "unknwon Q";
}