1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-29 05:16:51 +01:00

Amazfit Band 7: add alexa menu entries

as a display menu item value for alexa already existed (with a different hex value),
add an alexa2 value that maps to the same menuitem.
This commit is contained in:
Reiner Herrmann 2023-10-06 21:13:33 +02:00 committed by José Rebelo
parent 99130eb472
commit be07545eca
2 changed files with 4 additions and 0 deletions

View File

@ -55,6 +55,7 @@ public class Huami2021MenuType {
put("00000026", "events"); put("00000026", "events");
put("00000033", "breathing"); put("00000033", "breathing");
put("00000038", "pomodoro"); put("00000038", "pomodoro");
put("00000039", "alexa2");
put("0000003E", "todo"); put("0000003E", "todo");
put("0000003F", "mi_ai"); put("0000003F", "mi_ai");
put("00000046", "zepp_coach"); put("00000046", "zepp_coach");
@ -96,6 +97,7 @@ public class Huami2021MenuType {
put("00000020", "activity"); put("00000020", "activity");
put("00000021", "eventreminder"); put("00000021", "eventreminder");
put("00000023", "mi_ai"); put("00000023", "mi_ai");
put("00000025", "alexa");
}}; }};
public static final Map<String, String> controlCenterNameLookup = new HashMap<String, String>() {{ public static final Map<String, String> controlCenterNameLookup = new HashMap<String, String>() {{

View File

@ -790,6 +790,7 @@
<item>@string/menuitem_activity</item> <item>@string/menuitem_activity</item>
<item>@string/menuitem_alarm</item> <item>@string/menuitem_alarm</item>
<item>@string/menuitem_alexa</item> <item>@string/menuitem_alexa</item>
<item>@string/menuitem_alexa</item>
<item>@string/menuitem_barometer</item> <item>@string/menuitem_barometer</item>
<item>@string/menuitem_breathing</item> <item>@string/menuitem_breathing</item>
<item>@string/menuitem_calendar</item> <item>@string/menuitem_calendar</item>
@ -837,6 +838,7 @@
<item>activity</item> <item>activity</item>
<item>alarm</item> <item>alarm</item>
<item>alexa</item> <item>alexa</item>
<item>alexa2</item>
<item>barometer</item> <item>barometer</item>
<item>breathing</item> <item>breathing</item>
<item>calendar</item> <item>calendar</item>