The app property handle has to be added when the user login event occurs.
Currently, the app property is not added if the database is deleted or corrupted.
Change-Id: Ifa088495832d7248876253cc73b72a2862b70f43
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
if (prop == NULL)
return -1;
+ g_hash_table_insert(user_prop_table, GUINT_TO_POINTER(uid), prop);
+
ret = __load_app_property(prop);
if (ret < 0) {
_E("Failed to load properties - ret(%d)", ret);
- __destroy_app_property(prop);
return -1;
}
- g_hash_table_insert(user_prop_table, GUINT_TO_POINTER(uid), prop);
-
return 0;
}