Merge "init: Fix sync issue on property trigger." am: 80d2f01fbf am: 65016074c2 am: b94063edbf
am: 15c25fbed4
Change-Id: I166716bfb6bcb4ea9441b059e270d83862f12d10
This commit is contained in:
commit
2291d14baf
1 changed files with 8 additions and 2 deletions
|
|
@ -459,11 +459,17 @@ static void process_kernel_cmdline() {
|
|||
if (qemu[0]) import_kernel_cmdline(true, import_kernel_nv);
|
||||
}
|
||||
|
||||
static int property_enable_triggers_action(const std::vector<std::string>& args)
|
||||
{
|
||||
/* Enable property triggers. */
|
||||
property_triggers_enabled = 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int queue_property_triggers_action(const std::vector<std::string>& args)
|
||||
{
|
||||
ActionManager::GetInstance().QueueBuiltinAction(property_enable_triggers_action, "enable_property_trigger");
|
||||
ActionManager::GetInstance().QueueAllPropertyTriggers();
|
||||
/* enable property triggers */
|
||||
property_triggers_enabled = 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue