summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseungha.son <seungha.son@samsung.com>2016-12-28 14:39:11 +0900
committerseungha.son <seungha.son@samsung.com>2016-12-28 14:50:12 +0900
commit92007fc6f7f86fa6cc3592d171550d84e0e50ecc (patch)
tree53ff82a040bfba2169cf79989f2dcf29d50f213c
parent069d59b51c0d78cc6e37acc905864d6c76246bca (diff)
downloadbadge-accepted/tizen_3.0.m2_tv.tar.gz
badge-accepted/tizen_3.0.m2_tv.tar.bz2
badge-accepted/tizen_3.0.m2_tv.zip
- As soon as the badge setting API support is done, the provided macro is deleted. This macro is provided to control the badge funcation in the setting app before creating the badge in the application. - Relative patch : https://review.tizen.org/gerrit/#/c/100025/ Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: Idb4243cc10ecad3a4e569264fd74b996c2f96b3c
-rwxr-xr-xsrc/badge_internal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/badge_internal.c b/src/badge_internal.c
index 1bfb368..b4e541f 100755
--- a/src/badge_internal.c
+++ b/src/badge_internal.c
@@ -796,13 +796,12 @@ int _badge_set_display(const char *pkgname, unsigned int is_display, uid_t uid)
/* LCOV_EXCL_STOP */
}
-#if 0 /* Temporary */
ret = _badge_check_data_inserted(pkgname, db, uid);
if (ret != BADGE_ERROR_ALREADY_EXIST) {
result = ret;
goto return_close_db;
}
-#endif
+
ret = _badge_check_option_inserted(pkgname, db, uid);
if (ret == BADGE_ERROR_ALREADY_EXIST) {
sqlbuf = sqlite3_mprintf("UPDATE %q SET display = %d " \