mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-12 10:55:49 +01:00
[Huawei] Add settings to new gadgets
This commit is contained in:
parent
6167f3f781
commit
717bc3035d
@ -48,7 +48,12 @@ public class HuaweiWatchGT3Coordinator extends HuaweiBRCoordinator {
|
||||
|
||||
@Override
|
||||
public int[] getSupportedDeviceSpecificSettings(GBDevice device) {
|
||||
return getHuaweiCoordinator().genericHuaweiSupportedDeviceSpecificSettings(null);
|
||||
return getHuaweiCoordinator().genericHuaweiSupportedDeviceSpecificSettings(new int[]{
|
||||
R.xml.devicesettings_heartrate_automatic_enable,
|
||||
R.xml.devicesettings_spo_automatic_enable,
|
||||
R.xml.devicesettings_find_phone,
|
||||
R.xml.devicesettings_disable_find_phone_with_dnd,
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -48,7 +48,12 @@ public class HuaweiWatchGT4Coordinator extends HuaweiBRCoordinator {
|
||||
|
||||
@Override
|
||||
public int[] getSupportedDeviceSpecificSettings(GBDevice device) {
|
||||
return getHuaweiCoordinator().genericHuaweiSupportedDeviceSpecificSettings(null);
|
||||
return getHuaweiCoordinator().genericHuaweiSupportedDeviceSpecificSettings(new int[]{
|
||||
R.xml.devicesettings_heartrate_automatic_enable,
|
||||
R.xml.devicesettings_spo_automatic_enable,
|
||||
R.xml.devicesettings_find_phone,
|
||||
R.xml.devicesettings_disable_find_phone_with_dnd,
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -47,7 +47,12 @@ public class HuaweiWatchUltimateCoordinator extends HuaweiBRCoordinator {
|
||||
|
||||
@Override
|
||||
public int[] getSupportedDeviceSpecificSettings(GBDevice device) {
|
||||
return getHuaweiCoordinator().genericHuaweiSupportedDeviceSpecificSettings(null);
|
||||
return getHuaweiCoordinator().genericHuaweiSupportedDeviceSpecificSettings(new int[]{
|
||||
R.xml.devicesettings_heartrate_automatic_enable,
|
||||
R.xml.devicesettings_spo_automatic_enable,
|
||||
R.xml.devicesettings_find_phone,
|
||||
R.xml.devicesettings_disable_find_phone_with_dnd,
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user