1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 18:15:49 +01:00

Amazfit Neo: remove unsupported settings

This commit is contained in:
NekoBox 2022-08-20 23:54:35 +03:00
parent c53dfe8342
commit 3eed7c69f5

View File

@ -78,6 +78,11 @@ public class AmazfitNeoCoordinator extends HuamiCoordinator {
return true;
}
@Override
public int getReminderSlotCount() {
return 0; // Neo does not support reminders
}
@Override
public int[] getSupportedDeviceSpecificSettings(GBDevice device) {
return new int[]{
@ -89,7 +94,6 @@ public class AmazfitNeoCoordinator extends HuamiCoordinator {
R.xml.devicesettings_liftwrist_display,
R.xml.devicesettings_inactivity_dnd,
R.xml.devicesettings_hourly_chime,
R.xml.devicesettings_disconnectnotification,
R.xml.devicesettings_expose_hr_thirdparty,
R.xml.devicesettings_bt_connected_advertisement,
R.xml.devicesettings_device_actions,
@ -98,27 +102,6 @@ public class AmazfitNeoCoordinator extends HuamiCoordinator {
};
}
@Override
public String[] getSupportedLanguageSettings(GBDevice device) {
return new String[]{
"auto",
"de_DE",
"el_GR",
"en_US",
"es_ES",
"fr_FR",
"id_ID",
"it_IT",
"pt_PT",
"pl_PL",
"ru_RU",
"uk_UA",
"vi_VN",
"zh_CN",
"zh_TW",
};
}
@Override
public int getBondingStyle() {
return BONDING_STYLE_REQUIRE_KEY;