diff options
author | seungha.son <seungha.son@samsung.com> | 2016-12-28 14:39:11 +0900 |
---|---|---|
committer | seungha.son <seungha.son@samsung.com> | 2016-12-28 14:50:12 +0900 |
commit | 92007fc6f7f86fa6cc3592d171550d84e0e50ecc (patch) | |
tree | 53ff82a040bfba2169cf79989f2dcf29d50f213c | |
parent | 069d59b51c0d78cc6e37acc905864d6c76246bca (diff) | |
download | badge-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 |
Remove temporary macro related with badge_set_display APIsubmit/tizen_3.0/20161228.051438submit/tizen_3.0.m2/20170104.093749accepted/tizen/3.0/wearable/20161229.054104accepted/tizen/3.0/tv/20161229.054051accepted/tizen/3.0/mobile/20161229.054034accepted/tizen/3.0/ivi/20161229.054117accepted/tizen/3.0/common/20161229.112728accepted/tizen/3.0.m2/wearable/20170104.122853accepted/tizen/3.0.m2/tv/20170104.122507accepted/tizen/3.0.m2/mobile/20170104.122220tizen_3.0_tvtizen_3.0.m2accepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobile
- 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-x | src/badge_internal.c | 3 |
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 " \ |