1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-22 06:41:06 +02:00
Gadgetbridge/app/src
Daniel Dakhno 73d67d4093 Fossil/Skagen Hybrids: Embed menu_structure in watchface apps (#3245)
This PR aims to optimize the method of synchronizing the menu_structure for the openSourceWatchface by making the menu_structure request from the watch obsolete.

Instead, when a new menu_structure is sent to GB via the Intent `nodomain.freeyourgadget.gadgetbridge.Q_SET_MENU_STRUCTURE`, GB remembers that JSON.

Next time a watchface is built, the JSON is embedded into that app package so the watch doesn't forget the structure.

This requires a full GB rebuild to work properky.

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/3245
Co-authored-by: Daniel Dakhno <dakhnod@gmail.com>
Co-committed-by: Daniel Dakhno <dakhnod@gmail.com>
2023-08-19 20:48:53 +00:00
..
banglejs Bump main targetSdkVersion to 31 2023-07-04 09:59:03 +01:00
main Fossil/Skagen Hybrids: Embed menu_structure in watchface apps (#3245) 2023-08-19 20:48:53 +00:00
nightly/res Add Neon version of logo as Nightly app icon 2022-08-20 19:56:24 +02:00
nopebble/res Add Neon version of logo as Nightly app icon 2022-08-20 19:56:24 +02:00
test Add test to ensure no duplicated DeviceType keys 2023-08-13 13:56:57 +01:00