The condition of if statements are wrong. If the value is not 'true' or 'false',
the parser plugin should set the default value.
Change-Id: I41b44aa90779d4bc74711d955ce9fcdea03264a1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
}
}
- if (app_info->GetBackgroundLaunch().empty() ||
- app_info->GetBackgroundLaunch() != "true" ||
+ if (app_info->GetBackgroundLaunch() != "true" &&
app_info->GetBackgroundLaunch() != "false")
app_info->SetBackgroundLaunch("true");
- if (app_info->GetWaitUntilReady().empty() ||
- app_info->GetWaitUntilReady() != "true" ||
+ if (app_info->GetWaitUntilReady() != "true" &&
app_info->GetWaitUntilReady() != "false")
app_info->SetWaitUntilReady("true");