If the path of the splash image source is not absolute, the patch should be
"<package path>/shared/res/<filename>".
Change-Id: Ib3a784fdc44c7b12e8ff8f02f00cd0cbf026f20e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
if (fs::path(src).is_absolute()) {
splashscreen->src = strdup(src.c_str());
} else {
- fs::path full_path = context_->GetPkgPath() / src;
+ fs::path full_path =
+ context_->GetPkgPath() / "shared" / "res" / fs::path(src).filename();
splashscreen->src = strdup(full_path.c_str());
}
if (src.substr(src.find_last_of(".") + 1) == "edj")