mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Amazfit Active 2: Fix menu and control center configs
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ public class AmazfitActive2Coordinator extends ZeppOsCoordinator {
|
||||
|
||||
@Override
|
||||
public boolean mainMenuHasMoreSection() {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+3
@@ -74,6 +74,7 @@ public class ZeppOsMenuType {
|
||||
put("00000100", "alexa");
|
||||
put("00000101", "offline_voice");
|
||||
put("00000102", "flashlight");
|
||||
put("000FFD39", "hrv");
|
||||
}};
|
||||
|
||||
public static final Map<String, String> shortcutsNameLookup = new HashMap<String, String>() {{
|
||||
@@ -128,6 +129,7 @@ public class ZeppOsMenuType {
|
||||
put("0000000A", "bluetooth");
|
||||
put("0000000B", "wifi");
|
||||
put("0000000D", "calendar");
|
||||
put("00000010", "music");
|
||||
put("00000012", "alarm");
|
||||
put("00000013", "settings");
|
||||
put("00000014", "buzzer_intensity");
|
||||
@@ -138,5 +140,6 @@ public class ZeppOsMenuType {
|
||||
put("00000019", "eject_water");
|
||||
put("0000001A", "headphone");
|
||||
put("0000001B", "night_display");
|
||||
put("0000001C", "always_on_display");
|
||||
}};
|
||||
}
|
||||
|
||||
@@ -1139,6 +1139,13 @@
|
||||
<item>@string/menuitem_headphone</item>
|
||||
<item>@string/menuitem_buzzer_intensity</item>
|
||||
<item>@string/menuitem_night_display</item>
|
||||
<item>@string/prefs_always_on_display</item>
|
||||
<item>@string/menuitem_music</item>
|
||||
<item>@string/menuitem_barometer</item>
|
||||
<item>@string/menuitem_compass</item>
|
||||
<item>@string/menuitem_countdown</item>
|
||||
<item>@string/menuitem_stopwatch</item>
|
||||
<item>@string/menuitem_alarm</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pref_huami2021_control_center_values">
|
||||
@@ -1160,6 +1167,13 @@
|
||||
<item>headphone</item>
|
||||
<item>buzzer_intensity</item>
|
||||
<item>night_display</item>
|
||||
<item>always_on_display</item>
|
||||
<item>music</item>
|
||||
<item>barometer</item>
|
||||
<item>compass</item>
|
||||
<item>countdown</item>
|
||||
<item>stopwatch</item>
|
||||
<item>alarm</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pref_miband5_workout_activity_types">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<com.mobeta.android.dslv.DragSortListPreference
|
||||
android:defaultValue="@array/pref_huami2021_empty_array"
|
||||
android:dialogTitle="@string/bip_prefs_shortcuts"
|
||||
android:dialogTitle="@string/prefs_control_center"
|
||||
android:entries="@array/pref_huami2021_control_center"
|
||||
android:entryValues="@array/pref_huami2021_control_center_values"
|
||||
android:icon="@drawable/ic_menu"
|
||||
|
||||
Reference in New Issue
Block a user