diff options
-rw-r--r-- | ui/src/privacy_guard_package_list_view.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ui/src/privacy_guard_package_list_view.c b/ui/src/privacy_guard_package_list_view.c index 94d1615..e03cf9e 100644 --- a/ui/src/privacy_guard_package_list_view.c +++ b/ui/src/privacy_guard_package_list_view.c @@ -60,7 +60,7 @@ int init_pg_data_list(void) return SUCCESS; } -int add_pg_data(const char *package_id, const int count, time_t time, const int monitor_policy) +int add_pg_data(const char *package_id, const int count, const time_t time, const int monitor_policy) { pg_data_list *node = (pg_data_list *)malloc(sizeof(pg_data_list) * 1); if (node == NULL) { @@ -170,6 +170,7 @@ static int _create_privacy_guard_item_list(void) return SUCCESS; } + static void _free_privacy_guard_item_list(void) { @@ -292,7 +293,7 @@ static Evas_Object* _gl_content_get_cb(void *data, Evas_Object *obj, const char return NULL; } -static bool _privacy_package_info_cb(const char *package_id, const int count, time_t time, const int monitor_policy, void *user_data) +static bool _privacy_package_info_cb(const char *package_id, const int count, const time_t time, const int monitor_policy, void *user_data) { if (add_pg_data(package_id, count, time, monitor_policy) == FAIL) { LOGE("add_pg_data() is failed."); @@ -394,7 +395,6 @@ void create_privacy_guard_package_list_view(struct app_data_s *ad) LOGE("Failed to allocate memory"); return; } - // package label res = pkgmgrinfo_pkginfo_get_pkginfo(item->pkg_id, &handle); if (res != PMINFO_R_OK) { @@ -417,7 +417,6 @@ void create_privacy_guard_package_list_view(struct app_data_s *ad) LOGE("Failed to allocate memory"); return; } - // description - e.g.) 25/08/2010 01:30 PM 21 time(s) if (data->time > 0) { localtime_r(&data->time, &timeinfo); |