1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-14 12:47:50 +01:00
Gadgetbridge/app/src/main/java/nodomain
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
..
freeyourgadget/gadgetbridge Fossil/Skagen Hybrids: Embed menu_structure in watchface apps (#3245) 2023-08-19 20:48:53 +00:00