tizen coding rule check 34/140734/2
authorjungkon.kim <jungkon.kim@samsung.com>
Wed, 26 Jul 2017 07:28:39 +0000 (16:28 +0900)
committerjungkon.kim <jungkon.kim@samsung.com>
Wed, 9 Aug 2017 01:29:10 +0000 (10:29 +0900)
Change-Id: I8feda2b07731aa0e53e2840d11ceb53faa639c5c

ui/src/privacy_guard_package_list_view.c

index 94d1615127cfdf30c77af715d8ce56b415ff4205..e03cf9e6c85c4b4e5eff78f2276bb3d42778d6ee 100644 (file)
@@ -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);