mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-08-15 23:29:53 +00:00
Retire historical app source descriptors
This commit is contained in:
@@ -40,17 +40,12 @@ const char* LinuxSimAppShell::activeUxPackId() const
|
||||
|
||||
bool LinuxSimAppShell::validate() const
|
||||
{
|
||||
const auto& historical_source = linuxSimHistoricalSourceDescriptor();
|
||||
return config_.target_id != nullptr &&
|
||||
targetProfile() != nullptr &&
|
||||
product_composition::findTargetUxBinding(targetId()) != nullptr &&
|
||||
config_.ux_pack_id != nullptr &&
|
||||
std::strcmp(config_.ux_pack_id, activeUxPackId()) == 0 &&
|
||||
ui_lvgl_ux::findUxPackById(activeUxPackId()) != nullptr &&
|
||||
config_.historical_source != nullptr &&
|
||||
historical_source.historical_root_name != nullptr &&
|
||||
historical_source.historical_role != nullptr &&
|
||||
historical_source.replacement_owner != nullptr;
|
||||
ui_lvgl_ux::findUxPackById(activeUxPackId()) != nullptr;
|
||||
}
|
||||
|
||||
} // namespace linux_sim_shell
|
||||
|
||||
Reference in New Issue
Block a user