1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 04:46:51 +01:00

Huami: Move device actions to generic preferences section

This commit is contained in:
José Rebelo 2024-09-02 22:49:36 +01:00
parent b5104dd9ca
commit 168c0e126e
25 changed files with 25 additions and 25 deletions

View File

@ -88,6 +88,7 @@ public class AmazfitBand5Coordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
dateTime.add(R.xml.devicesettings_dateformat);
@ -115,7 +116,6 @@ public class AmazfitBand5Coordinator extends HuamiCoordinator {
final List<Integer> connection = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.CONNECTION);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -68,6 +68,7 @@ public class AmazfitBipCoordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_buttonactions_with_longpress);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
final List<Integer> display = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DISPLAY);
@ -87,7 +88,6 @@ public class AmazfitBipCoordinator extends HuamiCoordinator {
final List<Integer> connection = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.CONNECTION);
connection.add(R.xml.devicesettings_disconnectnotification);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);
developer.add(R.xml.devicesettings_huami2021_fetch_operation_time_unit);

View File

@ -57,6 +57,7 @@ public class AmazfitBipLiteCoordinator extends AmazfitBipCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_buttonactions_with_longpress);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
final List<Integer> display = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DISPLAY);
@ -76,7 +77,6 @@ public class AmazfitBipLiteCoordinator extends AmazfitBipCoordinator {
final List<Integer> connection = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.CONNECTION);
connection.add(R.xml.devicesettings_disconnectnotification);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);
developer.add(R.xml.devicesettings_relax_firmware_checks);

View File

@ -106,6 +106,7 @@ public class AmazfitBip3Coordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
dateTime.add(R.xml.devicesettings_dateformat);
@ -126,7 +127,6 @@ public class AmazfitBip3Coordinator extends HuamiCoordinator {
final List<Integer> connection = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.CONNECTION);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -106,6 +106,7 @@ public class AmazfitBip3ProCoordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
dateTime.add(R.xml.devicesettings_dateformat);
@ -126,7 +127,6 @@ public class AmazfitBip3ProCoordinator extends HuamiCoordinator {
final List<Integer> connection = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.CONNECTION);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -82,6 +82,7 @@ public class AmazfitBipSCoordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
dateTime.add(R.xml.devicesettings_world_clocks);
@ -102,7 +103,6 @@ public class AmazfitBipSCoordinator extends HuamiCoordinator {
final List<Integer> connection = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.CONNECTION);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -98,6 +98,7 @@ public class AmazfitBipUCoordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
dateTime.add(R.xml.devicesettings_world_clocks);
@ -122,7 +123,6 @@ public class AmazfitBipUCoordinator extends HuamiCoordinator {
final List<Integer> connection = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.CONNECTION);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -92,6 +92,7 @@ public class AmazfitBipUProCoordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
dateTime.add(R.xml.devicesettings_world_clocks);
@ -113,7 +114,6 @@ public class AmazfitBipUProCoordinator extends HuamiCoordinator {
final List<Integer> connection = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.CONNECTION);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -82,6 +82,7 @@ public class AmazfitCorCoordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
final List<Integer> display = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DISPLAY);
@ -102,7 +103,6 @@ public class AmazfitCorCoordinator extends HuamiCoordinator {
final List<Integer> connection = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.CONNECTION);
connection.add(R.xml.devicesettings_disconnectnotification);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);
developer.add(R.xml.devicesettings_huami2021_fetch_operation_time_unit);

View File

@ -77,6 +77,7 @@ public class AmazfitCor2Coordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
final List<Integer> display = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DISPLAY);
@ -97,7 +98,6 @@ public class AmazfitCor2Coordinator extends HuamiCoordinator {
final List<Integer> connection = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.CONNECTION);
connection.add(R.xml.devicesettings_disconnectnotification);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);
developer.add(R.xml.devicesettings_huami2021_fetch_operation_time_unit);

View File

@ -77,6 +77,7 @@ public class AmazfitGTRCoordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_buttonactions_with_longpress);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
final List<Integer> display = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DISPLAY);
@ -97,7 +98,6 @@ public class AmazfitGTRCoordinator extends HuamiCoordinator {
connection.add(R.xml.devicesettings_disconnectnotification);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -82,6 +82,7 @@ public class AmazfitGTR2Coordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
final List<Integer> display = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DISPLAY);
@ -102,7 +103,6 @@ public class AmazfitGTR2Coordinator extends HuamiCoordinator {
connection.add(R.xml.devicesettings_disconnectnotification);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -82,6 +82,7 @@ public class AmazfitGTR2eCoordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
final List<Integer> display = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DISPLAY);
@ -102,7 +103,6 @@ public class AmazfitGTR2eCoordinator extends HuamiCoordinator {
connection.add(R.xml.devicesettings_disconnectnotification);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -77,6 +77,7 @@ public class AmazfitGTSCoordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
final List<Integer> display = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DISPLAY);
@ -97,7 +98,6 @@ public class AmazfitGTSCoordinator extends HuamiCoordinator {
connection.add(R.xml.devicesettings_disconnectnotification);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -82,6 +82,7 @@ public class AmazfitGTS2Coordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
final List<Integer> display = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DISPLAY);
@ -102,7 +103,6 @@ public class AmazfitGTS2Coordinator extends HuamiCoordinator {
connection.add(R.xml.devicesettings_disconnectnotification);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -51,6 +51,7 @@ public class AmazfitGTS2MiniCoordinator extends AmazfitGTS2Coordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
final List<Integer> display = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DISPLAY);
@ -71,7 +72,6 @@ public class AmazfitGTS2MiniCoordinator extends AmazfitGTS2Coordinator {
connection.add(R.xml.devicesettings_disconnectnotification);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -82,6 +82,7 @@ public class AmazfitGTS2eCoordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
final List<Integer> display = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DISPLAY);
@ -102,7 +103,6 @@ public class AmazfitGTS2eCoordinator extends HuamiCoordinator {
connection.add(R.xml.devicesettings_disconnectnotification);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -80,6 +80,7 @@ public class AmazfitNeoCoordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
dateTime.add(R.xml.devicesettings_world_clocks);
@ -99,7 +100,6 @@ public class AmazfitNeoCoordinator extends HuamiCoordinator {
final List<Integer> connection = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.CONNECTION);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -77,6 +77,7 @@ public class AmazfitTRexCoordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
final List<Integer> display = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DISPLAY);
@ -97,7 +98,6 @@ public class AmazfitTRexCoordinator extends HuamiCoordinator {
connection.add(R.xml.devicesettings_disconnectnotification);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -77,6 +77,7 @@ public class AmazfitTRexProCoordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
final List<Integer> display = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DISPLAY);
@ -97,7 +98,6 @@ public class AmazfitTRexProCoordinator extends HuamiCoordinator {
connection.add(R.xml.devicesettings_disconnectnotification);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -75,6 +75,7 @@ public class AmazfitXCoordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
dateTime.add(R.xml.devicesettings_dateformat);
@ -98,7 +99,6 @@ public class AmazfitXCoordinator extends HuamiCoordinator {
final List<Integer> connection = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.CONNECTION);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -89,6 +89,7 @@ public class MiBand3Coordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
dateTime.add(R.xml.devicesettings_dateformat);
@ -112,7 +113,6 @@ public class MiBand3Coordinator extends HuamiCoordinator {
final List<Integer> connection = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.CONNECTION);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);
developer.add(R.xml.devicesettings_huami2021_fetch_operation_time_unit);

View File

@ -76,6 +76,7 @@ public class MiBand4Coordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
dateTime.add(R.xml.devicesettings_dateformat);
@ -102,7 +103,6 @@ public class MiBand4Coordinator extends HuamiCoordinator {
final List<Integer> connection = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.CONNECTION);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -95,6 +95,7 @@ public class MiBand5Coordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
dateTime.add(R.xml.devicesettings_dateformat);
@ -122,7 +123,6 @@ public class MiBand5Coordinator extends HuamiCoordinator {
final List<Integer> connection = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.CONNECTION);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);

View File

@ -77,6 +77,7 @@ public class ZeppECoordinator extends HuamiCoordinator {
final List<Integer> generic = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.GENERIC);
generic.add(R.xml.devicesettings_wearlocation);
generic.add(R.xml.devicesettings_device_actions);
final List<Integer> dateTime = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DATE_TIME);
dateTime.add(R.xml.devicesettings_timeformat);
final List<Integer> display = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DISPLAY);
@ -97,7 +98,6 @@ public class ZeppECoordinator extends HuamiCoordinator {
connection.add(R.xml.devicesettings_disconnectnotification);
connection.add(R.xml.devicesettings_expose_hr_thirdparty);
connection.add(R.xml.devicesettings_bt_connected_advertisement);
connection.add(R.xml.devicesettings_device_actions);
connection.add(R.xml.devicesettings_high_mtu);
connection.add(R.xml.devicesettings_overwrite_settings_on_connection);
final List<Integer> developer = deviceSpecificSettings.addRootScreen(DeviceSpecificSettingsScreen.DEVELOPER);