mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-04 09:17:29 +01:00
Amazfit Bip S: Change Unknown menu item to "World Clock"
Latest firmware has a world clock, setting the locations is not yet supported by Gadgetbridge
This commit is contained in:
parent
1743934c79
commit
f460f6abd1
@ -123,12 +123,12 @@ public class AmazfitBipSSupport extends AmazfitBipSupport {
|
||||
0x07, 0x00, (byte) 0xFF, 0x09, // Alarm
|
||||
0x08, 0x00, (byte) 0xFF, 0x1B, // Timer
|
||||
0x09, 0x00, (byte) 0xFF, 0x16, // Compass
|
||||
0x0A, 0x00, (byte) 0xFF, 0x1A, // Unknown
|
||||
0x0A, 0x00, (byte) 0xFF, 0x1A, // World clock
|
||||
0x0B, 0x00, (byte) 0xFF, 0x0B, // Music
|
||||
0x0C, 0x00, (byte) 0xFF, 0x13 // Settings
|
||||
};
|
||||
|
||||
String[] keys = {"status", "hr", "pai", "workout", "alipay", "nfc", "weather", "alarm", "timer", "compass", "unknown", "music", "settings"};
|
||||
String[] keys = {"status", "hr", "pai", "workout", "alipay", "nfc", "weather", "alarm", "timer", "compass", "worldclock", "music", "settings"};
|
||||
byte[] ids = {1, 2, 25, 3, 17, 16, 4, 9, 27, 22, 26, 11, 19};
|
||||
|
||||
if (pages != null) {
|
||||
|
@ -437,7 +437,7 @@
|
||||
<item>@string/menuitem_alarm</item>
|
||||
<item>@string/menuitem_timer</item>
|
||||
<item>@string/menuitem_compass</item>
|
||||
<item>@string/menuitem_unknown</item>
|
||||
<item>@string/menuitem_worldclock</item>
|
||||
<item>@string/menuitem_music</item>
|
||||
<item>@string/menuitem_settings</item>
|
||||
</string-array>
|
||||
@ -453,7 +453,7 @@
|
||||
<item>@string/p_menuitem_alarm</item>
|
||||
<item>@string/p_menuitem_timer</item>
|
||||
<item>@string/p_menuitem_compass</item>
|
||||
<item>@string/p_menuitem_unknown</item>
|
||||
<item>@string/p_menuitem_worldclock</item>
|
||||
<item>@string/p_menuitem_music</item>
|
||||
<item>@string/p_menuitem_settings</item>
|
||||
</string-array>
|
||||
@ -469,7 +469,7 @@
|
||||
<item>@string/p_menuitem_alarm</item>
|
||||
<item>@string/p_menuitem_timer</item>
|
||||
<item>@string/p_menuitem_compass</item>
|
||||
<item>@string/p_menuitem_unknown</item>
|
||||
<item>@string/p_menuitem_worldclock</item>
|
||||
<item>@string/p_menuitem_music</item>
|
||||
<item>@string/p_menuitem_settings</item>
|
||||
</string-array>
|
||||
|
@ -779,6 +779,7 @@
|
||||
<string name="menuitem_eventreminder">Event Reminder</string>
|
||||
<string name="menuitem_workout">Workout</string>
|
||||
<string name="menuitem_unknown">Unknown</string>
|
||||
<string name="menuitem_worldclock">World Clock</string>
|
||||
<string name="watch9_time_minutes">Minutes:</string>
|
||||
<string name="watch9_time_hours">Hours:</string>
|
||||
<string name="watch9_time_seconds">Seconds:</string>
|
||||
|
@ -37,7 +37,7 @@
|
||||
<item name="p_menuitem_pai" type="string">pai</item>
|
||||
<item name="p_menuitem_eventreminder" type="string">eventreminder</item>
|
||||
<item name="p_menuitem_workout" type="string">workout</item>
|
||||
<item name="p_menuitem_unknown" type="string">unknown</item>
|
||||
<item name="p_menuitem_worldclock" type="string">worldclock</item>
|
||||
|
||||
<item name="p_off" type="string">off</item>
|
||||
<item name="p_on" type="string">on</item>
|
||||
|
Loading…
Reference in New Issue
Block a user