mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user