CMF Buds: Relax name check for Buds 2 Plus

After using Google Fast Pair the buds will have their bluetooth name suffixed
with some identification text, thus the exact match won't work anymore and they
get detected as generic headphones instead.
This commit is contained in:
Dominik Riebeling
2026-05-03 19:59:44 +02:00
parent 1bc2f7e29f
commit 35434817b3
@@ -23,7 +23,7 @@ import nodomain.freeyourgadget.gadgetbridge.R;
public class CmfBuds2PlusCoordinator extends AbstractEarCoordinator {
@Override
protected Pattern getSupportedDeviceName() {
return Pattern.compile("^CMF Buds 2 Plus$");
return Pattern.compile("^CMF Buds 2 Plus.*$");
}
@Override