When calling the _app_property_load() function twice, the metadata
information are dropped. This patch prevents to remove the loaded
information from the app property handle.
Change-Id: Id61cdeefe5938ba8ce447b5b055b6f0f60cf9a6c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
int ret;
struct app_property_s *prop;
+ prop = _app_property_find(uid);
+ if (prop) {
+ _D("Already exists. uid(%u)", uid);
+ return 0;
+ }
+
prop = __create_app_property(uid);
if (prop == NULL)
return -1;