summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYunjin Lee <yunjin-.lee@samsung.com>2018-12-18 11:17:27 +0900
committerYunjin Lee <yunjin-.lee@samsung.com>2018-12-18 11:17:56 +0900
commit13a577cc7598697c4243b0a06e3078a3d9d0ab93 (patch)
tree32a6fec9aeeabb59e9eda29f1b749a79c0284795
parent0b7959e0018fd219b4c062b4225f90f5de52fd38 (diff)
downloadprivacy-setting-accepted/tizen_5.5_unified.tar.gz
privacy-setting-accepted/tizen_5.5_unified.tar.bz2
privacy-setting-accepted/tizen_5.5_unified.zip
- Build test done for armv7l, aarch64, i586, and x86_64 Change-Id: Iaaad40b20c5aadb07d8e3fef1d1ce94be340b900 Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
-rwxr-xr-xpackaging/org.tizen.privacy-setting.spec2
-rw-r--r--ui-popup/src/app_main.c2
-rw-r--r--ui/src/package_list_view.c4
-rw-r--r--ui/src/package_privacy_list_view.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/packaging/org.tizen.privacy-setting.spec b/packaging/org.tizen.privacy-setting.spec
index f97981a..b464c75 100755
--- a/packaging/org.tizen.privacy-setting.spec
+++ b/packaging/org.tizen.privacy-setting.spec
@@ -4,7 +4,7 @@
Name: org.tizen.privacy-setting-profile_wearable
Summary: Privacy setting ui application
-Version: 2.0.2
+Version: 2.0.3
Release: 1
Provides: org.tizen.privacy-setting = %{version}-%{release}
Group: Applications/Other
diff --git a/ui-popup/src/app_main.c b/ui-popup/src/app_main.c
index 39c19e9..3968ace 100644
--- a/ui-popup/src/app_main.c
+++ b/ui-popup/src/app_main.c
@@ -134,7 +134,7 @@ static void app_control(app_control_h app_control, void *data)
__send_error_reply(ad->caller);
ui_app_exit();
} else if (strcmp(ad->launch_type, "open") && strcmp(ad->launch_type, "use")) {
- LOGE("Wrong value for key type APP_CONTROL_DATA_TYPE. It must be 'use' or 'open'. Current value = '%s'", ret, ad->launch_type);
+ LOGE("Wrong value for key type APP_CONTROL_DATA_TYPE. It must be 'use' or 'open'. ret = %d, Current value = '%s'", ret, ad->launch_type);
__send_error_reply(ad->caller);
ui_app_exit();
}
diff --git a/ui/src/package_list_view.c b/ui/src/package_list_view.c
index 67000ba..f48b182 100644
--- a/ui/src/package_list_view.c
+++ b/ui/src/package_list_view.c
@@ -115,7 +115,7 @@ static void __get_package_privacy_privilege_status(bool* status, const char* pri
policy_entry* p_filter;
int ret = 0;
ret = security_manager_policy_entry_new(&p_filter);
- log_if(ret != SECURITY_MANAGER_SUCCESS, 1, "security_manager_policy_entry_new failed. ret = %s", ret);
+ log_if(ret != SECURITY_MANAGER_SUCCESS, 1, "security_manager_policy_entry_new failed. ret = %d", ret);
log_if(p_filter == NULL, 1, "security_manager_policy_entry_new failed failed. creation of new policy entry did not allocate memory");
ret = security_manager_policy_entry_set_application(p_filter, appid);
@@ -128,7 +128,7 @@ static void __get_package_privacy_privilege_status(bool* status, const char* pri
policy_entry **pp_policy = NULL;
size_t pp_policy_size = 0;
ret = security_manager_get_policy(p_filter, &pp_policy, &pp_policy_size);
- log_if(ret != SECURITY_MANAGER_SUCCESS || pp_policy_size <= 0, 1, "security_manager_get_policy failed. ret = %d, pp_policy_size = %d", ret, pp_policy_size);
+ log_if(ret != SECURITY_MANAGER_SUCCESS || pp_policy_size <= 0, 1, "security_manager_get_policy failed. ret = %d, pp_policy_size = %d", ret, (int)pp_policy_size);
/* Get level from policy */
unsigned int i = 0;
diff --git a/ui/src/package_privacy_list_view.c b/ui/src/package_privacy_list_view.c
index fc42845..a6da51b 100644
--- a/ui/src/package_privacy_list_view.c
+++ b/ui/src/package_privacy_list_view.c
@@ -40,7 +40,7 @@ static void package_privacy_check_changed_cb(void *data, Evas_Object *obj, void
static void gl_title_text_del_cb(void *data, Evas_Object *obj)
{
if (data) {
- LOGD("gl_title_text_del : %s", data);
+ LOGD("gl_title_text_del : %s", (char *)data);
free(data);
}
}