Before calling ValidateAndModifyGadgetPaths(), the library checks
whether the path exists or not. If the gadget developer uses the previous SDK,
the resources of the gadget is packed using the res/allowed path.
The previous patch of the launchpad does not consider it.
Change-Id: I91cc89dd64e74bac70f3e294bb9ddfbb2fc3ae02
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
}
int Util::MountGadgetDirectories(const tizen_base::Bundle& b) {
- auto gadget_paths = ModifyDirectories(b.GetStringArray(kAulMountGadgetPaths));
+ auto gadget_paths = b.GetStringArray(kAulMountGadgetPaths);
if (!gadget_paths.empty()) {
gadget_paths = ValidateAndModifyGadgetPaths(gadget_paths);
auto root_path = b.GetString(kAulRootPath);