action: fix "first keypress enables display only" ignored in plugins

Change-Id: I131887e4b7d72022026dcd4adbfc6bd3e8bd2ee2
This commit is contained in:
Christian Soffke 2025-06-04 12:41:58 +02:00 committed by Solomon Peachy
parent 2bf929c7ae
commit 19dc2466c8

View file

@ -1318,7 +1318,11 @@ int get_custom_action(int context,int timeout,
action_cur_t current;
init_act_cur(&current, context, timeout, get_context_map);
return get_action_worker(&action_last, &current);
int action = get_action_worker(&action_last, &current);
action = do_backlight(&action_last, &current, action);
return action;
}
intptr_t get_action_data(void)