expo: Avoid arranging the scene willy nilly
Moving from one scene to another should not result in the scene being re-arranged. Drop this, so that tests can have more control of when scenes are arranged. Also drop the scene_arrange() call when applying a theme, for the same reason. Add the now-required scene_arrange() to cedit and bootmenu Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -118,6 +118,9 @@ __maybe_unused static int bootflow_handle_menu(struct bootstd_priv *std,
|
||||
ret = -ERESTART;
|
||||
do {
|
||||
if (ret == -ERESTART) {
|
||||
ret = expo_arrange(exp);
|
||||
if (ret)
|
||||
return log_msg_ret("bha", ret);
|
||||
ret = expo_render(exp);
|
||||
if (ret)
|
||||
return log_msg_ret("bhr", ret);
|
||||
|
||||
Reference in New Issue
Block a user