mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-29 05:16:51 +01:00
remove debug filtering
This commit is contained in:
parent
0952941d73
commit
77658c702f
@ -49,12 +49,17 @@ public class BangleJSCoordinator extends AbstractDeviceCoordinator {
|
|||||||
@Override
|
@Override
|
||||||
public DeviceType getSupportedType(GBDeviceCandidate candidate) {
|
public DeviceType getSupportedType(GBDeviceCandidate candidate) {
|
||||||
String name = candidate.getDevice().getName();
|
String name = candidate.getDevice().getName();
|
||||||
// FIXME - disabled for debug
|
/* Filter by Espruino devices to avoid getting
|
||||||
//if (name != null && name.startsWith("Bangle.js")) {
|
the device chooser full of spam devices. */
|
||||||
|
if (name != null && (
|
||||||
|
name.startsWith("Bangle.js") ||
|
||||||
|
name.startsWith("Pixl.js") ||
|
||||||
|
name.startsWith("Puck.js") ||
|
||||||
|
name.startsWith("MDBT42Q") ||
|
||||||
|
name.startsWith("Espruino")))
|
||||||
return DeviceType.BANGLEJS;
|
return DeviceType.BANGLEJS;
|
||||||
//}
|
|
||||||
|
|
||||||
//return DeviceType.UNKNOWN;
|
return DeviceType.UNKNOWN;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user