S52 (GloryFit): Disable BT bonding and alarms

This commit is contained in:
José Rebelo
2025-12-24 09:29:13 +00:00
parent 43b1ef8352
commit e6fdc15514
@@ -18,8 +18,10 @@ package nodomain.freeyourgadget.gadgetbridge.devices.gloryfit.watches
import nodomain.freeyourgadget.gadgetbridge.R
import nodomain.freeyourgadget.gadgetbridge.devices.gloryfit.GloryFitCoordinator
import nodomain.freeyourgadget.gadgetbridge.impl.GBDevice
import java.util.regex.Pattern
/// #5063
class S52Coordinator : GloryFitCoordinator() {
override fun getManufacturer(): String {
return "Unspecified"
@@ -32,4 +34,14 @@ class S52Coordinator : GloryFitCoordinator() {
override fun getDeviceNameResource(): Int {
return R.string.devicetype_s52
}
override fun getBondingStyle(): Int {
// #5063 - It seems to fail to pair
return BONDING_STYLE_NONE
}
override fun getAlarmSlotCount(device: GBDevice): Int {
// #5063 - alarms from app do not work
return 0
}
}