platform/core/api/notification.git
8 years agoFix build warning 53/78853/1
Myungki Lee [Thu, 7 Jul 2016 06:41:20 +0000 (15:41 +0900)]
Fix build warning

- type cast for lock_screen_content_level
- delete unused func
- delete comment

Change-Id: I30c3f415e9d344caccd8f70d0c413f77afbaac07
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoAdd api for level of notification on lock screen 92/77192/13 accepted/tizen/common/20160707.171551 accepted/tizen/ivi/20160707.043153 accepted/tizen/mobile/20160707.043233 accepted/tizen/tv/20160707.043043 accepted/tizen/wearable/20160707.043224 submit/tizen/20160707.014055
Myungki Lee [Wed, 6 Jul 2016 12:17:26 +0000 (21:17 +0900)]
Add api for level of notification on lock screen

- show all content
- hide sensitive content
- don't show notifications

Change-Id: Ib2b86838a8b9018f704561f0bea68e58084cfe32
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoFix crash when ui-gadget unloads notification module 36/78436/3 submit/tizen/20160706.043533
Semun Lee [Tue, 5 Jul 2016 12:06:43 +0000 (21:06 +0900)]
Fix crash when ui-gadget unloads notification module

static variables may cause crash in g_dbus_error_register_error_domain

Change-Id: Iedf10f2998d4fa8bd296359c093c9af2fa93bcbc
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agoChanges the condition for alarmmgr_set_repeat_mode 71/78471/3
Myungki Lee [Tue, 5 Jul 2016 14:12:09 +0000 (23:12 +0900)]
Changes the condition for alarmmgr_set_repeat_mode

- If week_flag is 0, alarmmgr_set_repeat_mode return invlid param err.

Change-Id: I37c44809d30609d64eedd8977a2974d5dbe463c8
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoMerge "Add uid clone for notification_clone()" into tizen
HwanKyu Jhun [Wed, 6 Jul 2016 00:57:29 +0000 (17:57 -0700)]
Merge "Add uid clone for notification_clone()" into tizen

8 years agoAdd new api to set schedule for do_not_disturb 02/74502/12
Myungki Lee [Tue, 5 Jul 2016 11:20:35 +0000 (20:20 +0900)]
Add new api to set schedule for do_not_disturb

Change-Id: Ie541af6a3d11f06f69adfce2fb1921322b73f85c
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoAdd uid clone for notification_clone() 92/77992/1
seungha.son [Mon, 4 Jul 2016 01:28:02 +0000 (10:28 +0900)]
Add uid clone for notification_clone()

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I68a3948086eba0fe7ee2dbe27e4266db23bf05a9

8 years agoFix build warning 55/77155/1 accepted/tizen/common/20160703.125958 accepted/tizen/ivi/20160629.070832 accepted/tizen/mobile/20160629.070958 accepted/tizen/tv/20160629.070728 accepted/tizen/wearable/20160629.070816 submit/tizen/20160629.021322 submit/tizen_common/20160701.180000
Myungki Lee [Wed, 29 Jun 2016 02:04:07 +0000 (11:04 +0900)]
Fix build warning

- the wrong comparison in notification_unresister_changed_cb_for_uid()

Change-Id: I30c6ab09aa8cadbd7896f3c22bae448e348ed603
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoFix notification clone error 87/76987/2 accepted/tizen/common/20160629.222606 accepted/tizen/ivi/20160629.021155 accepted/tizen/mobile/20160629.021215 accepted/tizen/tv/20160629.021122 accepted/tizen/wearable/20160629.021202 submit/tizen/20160628.103424
seungha.son [Tue, 28 Jun 2016 07:45:49 +0000 (16:45 +0900)]
Fix notification clone error

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Ie22fb05ba77d9eb3b77cc4d134e8c7260fcc5ad3

8 years agoModify notification register changed callback 96/76696/5 accepted/tizen/common/20160629.222455 accepted/tizen/ivi/20160629.020612 accepted/tizen/mobile/20160629.020655 accepted/tizen/tv/20160629.020549 accepted/tizen/wearable/20160629.020639 submit/tizen/20160628.070541
seungha.son [Mon, 27 Jun 2016 02:46:59 +0000 (11:46 +0900)]
Modify notification register changed callback

 - register changed callback for uid
 - changed callback invoked for uid
 - unregister changed callback for uid

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I47c8f5975ffe692aced454c244b4f8f30c02c1bf

8 years agoFix memory leak 30/76630/1 accepted/tizen/common/20160703.125631 accepted/tizen/ivi/20160629.015640 accepted/tizen/mobile/20160629.015602 accepted/tizen/tv/20160629.015713 accepted/tizen/wearable/20160629.015512 submit/tizen/20160627.042541
Myungki Lee [Fri, 24 Jun 2016 12:47:59 +0000 (21:47 +0900)]
Fix memory leak

Change-Id: If1b644d5a86a33a559cc9d42ad41e48657651769
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoFix notification db do not sync bug 51/75951/1 accepted/tizen/common/20160627.191424 accepted/tizen/ivi/20160624.063801 accepted/tizen/mobile/20160624.063351 accepted/tizen/tv/20160624.063435 accepted/tizen/wearable/20160624.063631 submit/tizen/20160623.053734
Hyunho Kang [Wed, 22 Jun 2016 07:59:56 +0000 (16:59 +0900)]
Fix notification db do not sync bug

Change-Id: I2daa9bd453610533ba8ff80fff6a32353f149711
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoExclude line and function from coverage measurement 39/74839/3 accepted/tizen/common/20160620.163159 accepted/tizen/ivi/20160617.083713 accepted/tizen/mobile/20160617.083833 accepted/tizen/tv/20160617.083555 accepted/tizen/wearable/20160617.083916 submit/tizen/20160616.235341
seungha.son [Thu, 16 Jun 2016 00:19:36 +0000 (09:19 +0900)]
Exclude line and function from coverage measurement

 - Deprecated API
 - Can't check error line

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I8432fdfcdfaf2c8e0fa331fdb51a1eefbd27f665

8 years agoFix setting bug 80/74480/2 accepted/tizen/common/20160616.151618 accepted/tizen/ivi/20160616.001946 accepted/tizen/mobile/20160616.001851 accepted/tizen/tv/20160616.001907 accepted/tizen/wearable/20160616.001821 submit/tizen/20160615.014309
Myungki Lee [Wed, 15 Jun 2016 11:35:42 +0000 (20:35 +0900)]
Fix setting bug

Change-Id: I6f087999b736014c42447f3f71aea0991fd8565a
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoAdd notification_h null check 22/74622/3 accepted/tizen/common/20160616.151524 accepted/tizen/ivi/20160616.002901 accepted/tizen/mobile/20160616.002830 accepted/tizen/tv/20160616.002813 accepted/tizen/wearable/20160616.002722 submit/tizen/20160615.073423
seungha.son [Wed, 15 Jun 2016 02:37:25 +0000 (11:37 +0900)]
Add notification_h null check

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I61fe7a688411332c8bb146aca70db3f103835ee2

8 years agoMerge "Fix unintended db creation bug" into tizen
Hyunho Kang [Wed, 15 Jun 2016 02:22:06 +0000 (19:22 -0700)]
Merge "Fix unintended db creation bug" into tizen

8 years agoFix unintended db creation bug 07/74607/1
Hyunho Kang [Wed, 15 Jun 2016 02:02:40 +0000 (11:02 +0900)]
Fix unintended db creation bug

Change-Id: I237898cbba4f206abe566337be886ebff20397e7
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoAdd multi-user func prototype in header file 04/74604/1
Myungki Lee [Wed, 15 Jun 2016 01:58:38 +0000 (10:58 +0900)]
Add multi-user func prototype in header file

Change-Id: Ief8bbc28c3d76466ff6da007ee02d06bf1e8c8b7
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoAdd type header for uid_t 75/74175/1 accepted/tizen/common/20160614.143913 accepted/tizen/ivi/20160614.103340 accepted/tizen/mobile/20160614.103237 accepted/tizen/tv/20160614.103316 accepted/tizen/wearable/20160614.103257 submit/tizen/20160613.064514 submit/tizen/20160614.022443
Hyunho Kang [Mon, 13 Jun 2016 05:35:37 +0000 (14:35 +0900)]
Add type header for uid_t

Internal apps which include internal noti header face build break
because they cannot find type uid_t

Change-Id: I9c2e787516dcdf85d84718e2c62edf5dc5fd35e5
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoAdd multi-user feature 18/73218/12 submit/tizen/20160613.023047
Hyunho Kang [Fri, 10 Jun 2016 07:09:04 +0000 (16:09 +0900)]
Add multi-user feature

Change-Id: Ied3983a098458e1c6ca0a3ad560be732c633b73d
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoInsert to noti->b_text the translate text 15/73815/1 accepted/tizen/common/20160613.144704 accepted/tizen/ivi/20160610.114455 accepted/tizen/mobile/20160610.114401 accepted/tizen/tv/20160610.114423 accepted/tizen/wearable/20160610.114441 submit/tizen/20160610.015635
Myungki Lee [Thu, 9 Jun 2016 12:22:47 +0000 (21:22 +0900)]
Insert to noti->b_text the translate text

- when noti->b_text is null, bundle create and insert data.
  But this bundle addr is different from noti->b_text.

Change-Id: Idf41cf97ab7b78cc81f1df79065448f7191bfd3d
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoExclude deprecated API from coverage measurement 43/73343/1
seungha.son [Tue, 7 Jun 2016 23:01:30 +0000 (08:01 +0900)]
Exclude deprecated API from coverage measurement

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I17f5dc1c3bc79e1c673b7a7d1ccbf1c07d7f4692

8 years agoFix sample codes for notification_set/get_led 01/72801/1 accepted/tizen/common/20160606.141709 accepted/tizen/ivi/20160606.040552 accepted/tizen/mobile/20160606.035152 accepted/tizen/tv/20160606.035853 accepted/tizen/wearable/20160606.040056 submit/tizen/20160603.030057
Myungki Lee [Thu, 2 Jun 2016 11:25:03 +0000 (20:25 +0900)]
Fix sample codes for notification_set/get_led

Change-Id: I0a7b72076c71283bc2aa0cf1c91e491119db0291
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoCorrect use of string for g_varient_get() 40/72140/3
Myungki Lee [Thu, 2 Jun 2016 11:05:50 +0000 (20:05 +0900)]
Correct use of string for g_varient_get()

Change-Id: I11f2ae12d5ad9e09e01837f1afdefe8146cd76f6
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoUse g_dbus for some notification_status api 12/71212/3
Myungki Lee [Wed, 25 May 2016 05:30:48 +0000 (14:30 +0900)]
Use g_dbus for some notification_status api

- remove dependency of the unused package
Change-Id: I2460d9f72ab58e88be9d178a52ddf1d05da2e47c
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoAdd new api for ongoing_update_cb 79/69579/8 accepted/tizen/common/20160525.155800 accepted/tizen/ivi/20160525.234930 accepted/tizen/mobile/20160525.234856 accepted/tizen/tv/20160525.234912 accepted/tizen/wearable/20160525.234918 submit/tizen/20160524.100942
Myungki Lee [Thu, 19 May 2016 02:17:24 +0000 (11:17 +0900)]
Add new api for ongoing_update_cb

Change-Id: I2e11dac3ae7ced42b0c752b6de7dcfb167209b3b
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoInitialize ongoing_flag and delete ongoing_flag conditional statement. 73/70573/1
seungha.son [Thu, 19 May 2016 13:43:18 +0000 (22:43 +0900)]
Initialize ongoing_flag and delete ongoing_flag conditional statement.

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Ib8148f50466875edbc17c87211ad391494196c22

8 years agoDelete auto_remove condiotinal statement. 04/70304/3
seungha.son [Thu, 19 May 2016 04:59:42 +0000 (13:59 +0900)]
Delete auto_remove condiotinal statement.

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I929a578faa7e7e548fa327e1432480154eebb306

8 years agoChange from getuid() to TZ_SYS_DEFAULT_USER 37/69737/5 accepted/tizen/common/20160518.124851 accepted/tizen/ivi/20160518.004226 accepted/tizen/mobile/20160518.004352 accepted/tizen/tv/20160518.004243 accepted/tizen/wearable/20160518.004212 submit/tizen/20160517.005404 submit/tizen/20160517.084446
seungha.son [Mon, 16 May 2016 12:34:51 +0000 (21:34 +0900)]
Change from getuid() to TZ_SYS_DEFAULT_USER

Add tzplatform_config.h file

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I74fc61700e84e87131f055a5b4e91895ed50f2c3

8 years agoFix db init bug 38/69138/2 accepted/tizen/common/20160512.143851 accepted/tizen/ivi/20160512.051124 accepted/tizen/mobile/20160512.051217 accepted/tizen/tv/20160512.051103 accepted/tizen/wearable/20160512.051140 submit/tizen/20160512.021729
Hyunho Kang [Thu, 12 May 2016 01:36:14 +0000 (10:36 +0900)]
Fix db init bug

- if table already exists, always return fail

Change-Id: Ife58f0a6240a107eca1752ac5802376d927275bf
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoAdd db create API and remove db create logic from .spec file 93/68693/2 accepted/tizen/common/20160511.141829 accepted/tizen/ivi/20160511.080520 accepted/tizen/mobile/20160511.080420 accepted/tizen/tv/20160511.080439 accepted/tizen/wearable/20160511.080456 submit/tizen/20160510.090610
Hyunho Kang [Mon, 9 May 2016 10:13:57 +0000 (19:13 +0900)]
Add db create API and remove db create logic from .spec file

- data-provider-master will create notification db

Change-Id: Ie40657d9bbf3e3e5bd5066af1aa06ee304c6791f
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoChange db owner root to app_fw 18/68318/1 accepted/tizen/common/20160505.140331 accepted/tizen/ivi/20160506.035726 accepted/tizen/mobile/20160506.035144 accepted/tizen/tv/20160506.035518 accepted/tizen/wearable/20160506.035617 submit/tizen/20160504.074553
Hyunho Kang [Tue, 3 May 2016 10:44:25 +0000 (19:44 +0900)]
Change db owner root to app_fw

Change-Id: I0ad9f926e4ce3659218966d27de9b4815b144714
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoRemove ail dependancy 75/68275/2
Hyunho Kang [Tue, 3 May 2016 07:47:11 +0000 (16:47 +0900)]
Remove ail dependancy

Change-Id: I1a0f4e7883dd421959237858e6c8918f888041c8
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoFix wrong doxygen comment 20/68220/1
Semun Lee [Tue, 3 May 2016 05:17:00 +0000 (14:17 +0900)]
Fix wrong doxygen comment

Change-Id: I5d62e804880f4f8f8b1d3fcba7b459fa8ebce0bb
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agoAdd translate localized text feature 76/68076/7 accepted/tizen/common/20160504.125248 accepted/tizen/ivi/20160503.093012 accepted/tizen/mobile/20160503.092912 accepted/tizen/tv/20160503.092938 accepted/tizen/wearable/20160503.092950 submit/tizen/20160503.003646
Hyunho Kang [Mon, 2 May 2016 06:09:31 +0000 (15:09 +0900)]
Add translate localized text feature

Change-Id: Icd05fb258df7598f52c2e61b619f38404fb4b78f
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoAdd changed callback call logic when register service 29/66129/1 accepted/tizen/common/20160418.141907 accepted/tizen/ivi/20160418.235519 accepted/tizen/mobile/20160418.235456 accepted/tizen/tv/20160418.235502 accepted/tizen/wearable/20160418.235450 submit/tizen/20160418.082708
Hyunho Kang [Fri, 15 Apr 2016 09:37:23 +0000 (18:37 +0900)]
Add changed callback call logic when register service

Change-Id: Ieee9e5879ff4c950dbf886aab25cf525fde93584
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoFix notification_get_event_handler bug 06/65906/1 accepted/tizen/common/20160414.143050 accepted/tizen/ivi/20160415.014900 accepted/tizen/mobile/20160415.014928 accepted/tizen/tv/20160415.014911 accepted/tizen/wearable/20160415.014921 submit/tizen/20160414.081825
Hyunho Kang [Thu, 14 Apr 2016 02:21:51 +0000 (11:21 +0900)]
Fix notification_get_event_handler bug

Change-Id: I8081826e682464c9fcdfcefb89c3190e936652b2
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoFix build warning 29/65229/1
Myungki Lee [Fri, 8 Apr 2016 04:17:35 +0000 (13:17 +0900)]
Fix build warning

Change-Id: I090be718b19f36a1275ea4c831c0bbe4b6917781
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoFix notification_is_service_ready bug 20/64720/1 accepted/tizen/common/20160406.143513 accepted/tizen/ivi/20160406.012758 accepted/tizen/mobile/20160406.012643 accepted/tizen/tv/20160406.012701 accepted/tizen/wearable/20160406.012729 submit/tizen/20160405.052614
Hyunho Kang [Tue, 5 Apr 2016 05:18:56 +0000 (14:18 +0900)]
Fix notification_is_service_ready bug

Change-Id: Ib49ec6068e92813e2c4bdd1f86652665832fc5fd
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoAdjust coding rules 99/63799/5 accepted/tizen/common/20160406.143402 accepted/tizen/ivi/20160406.012024 accepted/tizen/mobile/20160406.011851 accepted/tizen/tv/20160406.011943 accepted/tizen/wearable/20160406.012004 submit/tizen/20160405.001024
Hwankyu Jhun [Tue, 29 Mar 2016 01:12:52 +0000 (10:12 +0900)]
Adjust coding rules

Change-Id: Ia98ac4748d523bd190a0689fccb132d8ea3f7091
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoFix descriptions about API version 19/63819/3 accepted/tizen/common/20160330.120052 accepted/tizen/ivi/20160328.115559 accepted/tizen/mobile/20160328.115306 accepted/tizen/tv/20160328.115329 accepted/tizen/wearable/20160328.115445 submit/tizen/20160328.051116
Hyunho Kang [Mon, 28 Mar 2016 03:16:16 +0000 (12:16 +0900)]
Fix descriptions about API version

Change-Id: I2dd1cf4321cc804477f0edc9f50d9e9e737efb7f
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoAdd gdbus permission check logic & strerror to strerror_r 93/63493/3 accepted/tizen/common/20160325.135418 accepted/tizen/ivi/20160324.131658 accepted/tizen/mobile/20160324.132944 accepted/tizen/tv/20160324.132816 accepted/tizen/wearable/20160324.132802 submit/tizen/20160324.104731
Hyunho Kang [Thu, 24 Mar 2016 08:17:54 +0000 (17:17 +0900)]
Add gdbus permission check logic & strerror to strerror_r

Change-Id: I7859588bfb5da986fe8c9f6f9fe1c606114c35ef
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoFix memory leak 14/63114/2 accepted/tizen/common/20160324.084219 accepted/tizen/common/20160325.134911 accepted/tizen/ivi/20160324.131621 accepted/tizen/mobile/20160324.132906 accepted/tizen/tv/20160324.132728 accepted/tizen/wearable/20160324.132652 submit/tizen/20160323.065638 submit/tizen/20160323.235918
jusung son [Tue, 22 Mar 2016 06:49:11 +0000 (15:49 +0900)]
Fix memory leak

Change-Id: If66e60e8ccd7dff8d14b9e879ba390487932e76f
Signed-off-by: jusung son <jusung07.son@samsung.com>
8 years agoFix pkgname NULL bug & vibration type ignored bug 92/63292/1
Hyunho Kang [Wed, 23 Mar 2016 05:36:44 +0000 (14:36 +0900)]
Fix pkgname NULL bug & vibration type ignored bug

- When pkgname is NULL dbus pass invalid utf-8 instead of NULL
- Vibration type is ignored when vibration type is NONE

Change-Id: I52f81a87669d1e387cc752997a2fc976f9c00b4c
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoremove unsupported API 40/63040/1 accepted/tizen/ivi/20160322.085218 accepted/tizen/mobile/20160322.085131 accepted/tizen/tv/20160322.085143 accepted/tizen/wearable/20160322.085202 submit/tizen/20160322.025756
jusung son [Tue, 22 Mar 2016 01:39:25 +0000 (10:39 +0900)]
remove unsupported API

Change-Id: I344b390977a36e502f90793f03b5c3263b3fc8fe
Signed-off-by: jusung son <jusung07.son@samsung.com>
8 years agoFix build error and remove warnings 27/62427/1 accepted/tizen/common/20160323.183813 accepted/tizen/ivi/20160321.114059 accepted/tizen/mobile/20160321.114002 accepted/tizen/tv/20160321.114015 accepted/tizen/wearable/20160321.114034 submit/tizen/20160321.052611
Hyunho Kang [Wed, 16 Mar 2016 04:51:11 +0000 (13:51 +0900)]
Fix build error and remove warnings

- remove unused functions

Change-Id: Id291d8143916adbed5edb0c0130b5e198ed2e429
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoMerge "Remove com-core dependency" into tizen submit/tizen/20160315.050359 submit/tizen_common/20160316.154911
jusung son [Tue, 15 Mar 2016 04:24:03 +0000 (21:24 -0700)]
Merge "Remove com-core dependency" into tizen

8 years agoRemove com-core dependency 04/62204/1
jusung son [Tue, 15 Mar 2016 01:30:11 +0000 (10:30 +0900)]
Remove com-core dependency

Change-Id: I3358f91e14b108f5b3c893dfaf17316402820969
Signed-off-by: jusung son <jusung07.son@samsung.com>
8 years agoMerge changes I98408a58,Ia3edffa8 into tizen
Hyunho Kang [Mon, 7 Mar 2016 04:48:23 +0000 (20:48 -0800)]
Merge changes I98408a58,Ia3edffa8 into tizen

* changes:
  Add dbus permission check logic
  Fix get noti list bug

8 years agoAdd dbus permission check logic 46/60846/1
Hyunho Kang [Wed, 2 Mar 2016 11:57:48 +0000 (20:57 +0900)]
Add dbus permission check logic

Change-Id: I98408a58f7f96660aa1af62e9f6b61c405029b92
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoFix get noti list bug 39/60839/1
Hyunho Kang [Wed, 2 Mar 2016 11:26:42 +0000 (20:26 +0900)]
Fix get noti list bug

Change-Id: Ia3edffa82066f67744bb8bfd7e5a9536d8a63c97
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoRemove hard coded path and deprecated internal APIs 67/60767/1
Hyunho Kang [Wed, 2 Mar 2016 06:20:29 +0000 (15:20 +0900)]
Remove hard coded path and deprecated internal APIs

- notification_setting_db_set
- notification_setting_db_get
- notification_setting_property_set
- notification_setting_property_get

Change-Id: I1d03dd54dfab4e33f60c311e1485071ef7d79e47
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
8 years agoMerge remote-tracking branch 'origin/tizen_3.0_dbus' into tizen 37/60737/1
Hyunho Kang [Wed, 2 Mar 2016 02:46:16 +0000 (11:46 +0900)]
Merge remote-tracking branch 'origin/tizen_3.0_dbus' into tizen

Change-Id: Ie40652b12d59dff511f28a3dbe657886e81ddca7

8 years agoUsing gdbus for IPC instead of com-core package 41/57441/24 tizen_3.0_dbus
Hyunho Kang [Wed, 20 Jan 2016 07:13:18 +0000 (16:13 +0900)]
Using gdbus for IPC instead of com-core package

Change-Id: Ib9b06e8deeaef18f8319a5765797b1b96b7bc195
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
8 years agoApply coding rule 85/56085/5
jusung son [Mon, 4 Jan 2016 07:37:01 +0000 (16:37 +0900)]
Apply coding rule

Change-Id: I1088231e12ce4160450f56e94b18db5c1b4a3d3c
Signed-off-by: jusung son <jusung07.son@samsung.com>
8 years agoMerge "Fix DEREF OF NULL ASSIGN" into tizen accepted/tizen/ivi/20160218.022845 accepted/tizen/mobile/20160104.054024 accepted/tizen/tv/20160104.054048 accepted/tizen/wearable/20160104.054109 submit/tizen/20160104.012544 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000001
Hyunho Kang [Mon, 4 Jan 2016 01:16:41 +0000 (17:16 -0800)]
Merge "Fix DEREF OF NULL ASSIGN" into tizen

9 years agoFix memory leak 31/55931/3 accepted/tizen/mobile/20151231.072528 accepted/tizen/tv/20151231.072542 accepted/tizen/wearable/20151231.072608 submit/tizen/20151231.011247
Myungki Lee [Wed, 30 Dec 2015 10:16:56 +0000 (19:16 +0900)]
Fix memory leak

Change-Id: I41dd5d65fd6e7fe4ca39f97585adf5324327d8ed
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
9 years agoFix DEREF OF NULL ASSIGN 44/55944/1
Hyunho Kang [Wed, 30 Dec 2015 08:51:23 +0000 (17:51 +0900)]
Fix DEREF OF NULL ASSIGN

Change-Id: I925a210966ba715afebf20f809bf279d10643857
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
9 years agoMerge "Remove #include "notification_list.h" from notification.h" into tizen accepted/tizen/mobile/20151217.223626 accepted/tizen/tv/20151217.223642 accepted/tizen/wearable/20151217.223709 submit/tizen/20151215.053343 submit/tizen/20151217.072012 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Hyunho Kang [Tue, 15 Dec 2015 04:54:33 +0000 (20:54 -0800)]
Merge "Remove #include "notification_list.h" from notification.h" into tizen

9 years agoRemove #include "notification_list.h" from notification.h 15/54315/1
Hyunho Kang [Tue, 15 Dec 2015 01:35:35 +0000 (10:35 +0900)]
Remove #include "notification_list.h" from notification.h

Change-Id: I4e6324093b001fa7b8614878bf0ff153f2a684a3
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
9 years agoInclude bundle_internal.h for internal bundle apis 02/54302/1 accepted/tizen/mobile/20151217.023645 accepted/tizen/tv/20151217.023703 accepted/tizen/wearable/20151217.023726 submit/tizen/20151214.084555
Hwankyu Jhun [Tue, 15 Dec 2015 01:03:13 +0000 (10:03 +0900)]
Include bundle_internal.h for internal bundle apis

Some bundle apis are platform internal apis
and we need to include bundle_internal.h to use them

Change-Id: I54c5a640b6b7ce2e2cc1597cc7e1a7da70c69f81
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
9 years agoChanges for coding rules 13/54013/1 accepted/tizen/mobile/20151211.054807 accepted/tizen/tv/20151211.061926 accepted/tizen/wearable/20151211.060824 submit/tizen/20151211.025320
Kyuho Jo [Thu, 10 Dec 2015 23:40:54 +0000 (08:40 +0900)]
Changes for coding rules

Change-Id: I9608b8852de183c438026be8d5ebea9d15d6953f
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoMerge from tizen 2.4 latest. 56/51456/2 accepted/tizen/mobile/20151111.232111 accepted/tizen/tv/20151111.232118 accepted/tizen/wearable/20151111.232135 submit/tizen/20151111.080035
Kyuho Jo [Tue, 10 Nov 2015 01:59:35 +0000 (10:59 +0900)]
Merge from tizen 2.4 latest.

Change-Id: Ic260bc3ee54201b4572976dfec9c5f6cd808c4ff
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoFixed build errors caused by 2.4 merge. 52/48152/1 accepted/tizen/mobile/20150917.040956 accepted/tizen/tv/20150917.041008 accepted/tizen/wearable/20150917.041023 submit/tizen/20150916.131922 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Kyuho Jo [Tue, 15 Sep 2015 07:17:23 +0000 (16:17 +0900)]
Fixed build errors caused by 2.4 merge.

Change-Id: If6e1f4bf170e2ab7dc3b41e2f24004972623479a
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoFixed a build break by missing a file. 80/46480/1 submit/tizen/20150821.025957 submit/tizen/20150910.134842
Kyuho Jo [Fri, 21 Aug 2015 02:24:05 +0000 (11:24 +0900)]
Fixed a build break by missing a file.

Change-Id: I670f134ddd1d5fa71667d43a9215085347cbee3b
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years ago1. Merge latest code from tizen 2.4 26/46326/2 submit/tizen/20150820.023311
Kyuho Jo [Wed, 19 Aug 2015 08:12:14 +0000 (17:12 +0900)]
1. Merge latest code from tizen 2.4
2. Move db file to /usr/dbspace
3. Remove redundant files

Change-Id: I62f24661ea645cd28099821cd0c25552e0d3c9f3
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoMerge "Align manifest to Tizen 3.0" into tizen
Semun Lee [Wed, 1 Jul 2015 10:23:57 +0000 (03:23 -0700)]
Merge "Align manifest to Tizen 3.0" into tizen

9 years ago3 domain smack rule is applied. 58/42658/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150701.121034 accepted/tizen/tv/20150701.121422 accepted/tizen/wearable/20150701.122919 submit/tizen/20150701.084437 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
Kyuho Jo [Wed, 1 Jul 2015 08:41:25 +0000 (17:41 +0900)]
3 domain smack rule is applied.

Change-Id: Ia9c0d08d02c98c9e3f598e34c2838e6909a3121c
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoAlign manifest to Tizen 3.0 17/42217/1 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common accepted/tizen/3.0.2015.q2/common/20150624.132011 submit/tizen_3.0.2015.q2_common/20150624.131849
José Bollo [Wed, 24 Jun 2015 13:17:42 +0000 (15:17 +0200)]
Align manifest to Tizen 3.0

Change-Id: I0456444ed8343e4f3904bb4623bee466e1bf5f7a
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
9 years agoRollback 'notification_wait_response' for backward compatibility 71/40471/1 accepted/tizen/3.0.2015.q2/common/20150615.091743 accepted/tizen/common/20150612.065854 accepted/tizen/mobile/20150615.071214 accepted/tizen/tv/20150615.071239 accepted/tizen/wearable/20150617.012828 submit/tizen/20150604.103646 submit/tizen/20150609.020831 submit/tizen/20150609.074149 submit/tizen/20150611.063059 submit/tizen_3.0.2015.q2_common/20150615.075539 submit/tizen_mobile/20150604.063436 submit/tizen_mobile/20150604.105928 submit/tizen_mobile/20150609.015041 submit/tizen_mobile/20150612.084020 submit/tizen_tv/20150612.084103 submit/tizen_wearable/20150616.000000 submit/tizen_wearble/20150612.084038
Kyuho Jo [Thu, 4 Jun 2015 06:28:40 +0000 (15:28 +0900)]
Rollback 'notification_wait_response' for backward compatibility

Change-Id: Iedd09b4b5833007284c59df86dff7e3e367412e7
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoNotification module will not create notification-service package anymore. 26/40226/1 submit/tizen_mobile/20150601.120810 submit/tizen_mobile/20150601.132334 submit/tizen_mobile/20150601.133038 submit/tizen_mobile/20150602.005937
Kyuho Jo [Mon, 1 Jun 2015 08:08:32 +0000 (17:08 +0900)]
Notification module will not create notification-service package anymore.

Change-Id: Ic5c55981fc57bf580f2ddb79c68b54cfcec235ab
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoMerge branch 'tizen_2.4' of ssh://spin:29418/apps/home/notification into tizen submit/tizen_mobile/20150527.071719 submit/tizen_mobile/20150529.103300
Sung-jae Park [Tue, 26 May 2015 14:12:32 +0000 (23:12 +0900)]
Merge branch 'tizen_2.4' of ssh://spin:29418/apps/home/notification into tizen

Conflicts:
CMakeLists.txt
include/notification.h
include/notification_internal.h
include/notification_list.h
include/notification_status.h
include/notification_type.h
packaging/notification.spec
src/notification.c
src/notification_noti.c
test-app/CMakeLists.txt
test-app/main.c

Change-Id: I879a434de924aaf724679a42d26f2586ba616fde
Signed-off-by: Sung-jae Park <nicesj.park@samsung.com>
9 years agoFix a bug on notifciation_get_text.
Kyuho Jo [Tue, 26 May 2015 08:02:48 +0000 (17:02 +0900)]
Fix a bug on notifciation_get_text.

Change-Id: I05155758ace4801d7c67af1e829da1633ac22af8
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoFix faults on TCT
Kyuho Jo [Sat, 23 May 2015 05:59:33 +0000 (14:59 +0900)]
Fix faults on TCT

Change-Id: I700844f5765a1fe993f6e182309db2dfa53cfefe
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years ago1. Deprecated some enumerations.
Kyuho Jo [Fri, 22 May 2015 10:21:16 +0000 (19:21 +0900)]
1. Deprecated some enumerations.
2. Fixed a fault on doxygen comment.

Change-Id: I89e6b3501556ea2c3e09ba164c085a5b933323fb
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoGetting the count of packages from package manager to refresh setting table.
Kyuho Jo [Wed, 20 May 2015 02:08:23 +0000 (11:08 +0900)]
Getting the count of packages from package manager to refresh setting table.

Change-Id: I76aae4d820e726f18f1cbeb9ee38c36c460dfc14
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoFetching package names from package manager.
Kyuho Jo [Tue, 19 May 2015 11:13:12 +0000 (20:13 +0900)]
Fetching package names from package manager.

Change-Id: Ida53aa317073496b157aa097d6650df96886159a
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years ago1. Support multiple IDS strings.
Kyuho Jo [Mon, 18 May 2015 13:21:28 +0000 (22:21 +0900)]
1. Support multiple IDS strings.
2. Fix bugs on setting.

Change-Id: If7fea48aff3fc3a171fdb7c634392667d74ff9f6
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoFix build errors caused by an invalid library path. 17/39517/3 submit/tizen_mobile/20150518.054628
Kyuho Jo [Mon, 18 May 2015 05:28:08 +0000 (14:28 +0900)]
Fix build errors caused by an invalid library path.

Change-Id: Ia405022f1fcf8c26b68e991367a29c88e5d78bf5
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoFix a bug on creating DB table for system setting.
Kyuho Jo [Sun, 17 May 2015 09:26:45 +0000 (18:26 +0900)]
Fix a bug on creating DB table for system setting.

Change-Id: I6f5a8a8584b812dcc4ed586658d16b49c1b6d675
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoMerge branch 'tizen_2.3' of ssh://168.219.209.56:29418/apps/home/notification into... 33/39433/2 submit/tizen_mobile/20150515.081608
Kyuho Jo [Fri, 15 May 2015 05:18:42 +0000 (14:18 +0900)]
Merge branch 'tizen_2.3' of ssh://168.219.209.56:29418/apps/home/notification into tizen

Change-Id: Ib15ef6fb7d1dfae22b6dd9bd65a1d441e9264783
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoSet default 'display_applist' with 'NOTIFICATION_DISPLAY_APP_NOTIFICATION_TRAY'
Kyuho Jo [Wed, 13 May 2015 02:31:48 +0000 (11:31 +0900)]
Set default 'display_applist' with 'NOTIFICATION_DISPLAY_APP_NOTIFICATION_TRAY'

Change-Id: I0e8be20b70ccd4d1fcdb2197b54dd30c9de6046d
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoFix PREVENT issues. 32/39432/1
Kyuho Jo [Tue, 12 May 2015 14:01:01 +0000 (23:01 +0900)]
Fix PREVENT issues.

Change-Id: I493ac672207a9bc236999a8954aa964076ecc641
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoInstall notification_text_domain.h
Kyuho Jo [Tue, 12 May 2015 04:25:28 +0000 (13:25 +0900)]
Install notification_text_domain.h

Change-Id: I17a43082511c3f57ff96bf4f4922bc3a14e60519
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoMerge branch 'tizen_2.3' of ssh://168.219.209.56:29418/apps/home/notification into...
Sung-jae Park [Mon, 11 May 2015 11:59:29 +0000 (20:59 +0900)]
Merge branch 'tizen_2.3' of ssh://168.219.209.56:29418/apps/home/notification into tizen

Change-Id: I26ce038f7acd8d038c19cef18fd0f1b93138bbb0

9 years agoClean up old codes to prevent from CONFLICT
Sung-jae Park [Mon, 11 May 2015 11:57:58 +0000 (20:57 +0900)]
Clean up old codes to prevent from CONFLICT

Unfortunately, we should overwrite whole code for notification now.
This will be repalced with Tizen 2.3/2.4 code.

Change-Id: I407f81d144fd0603c6cbc1d847452f2038e768b8
Signed-off-by: Sung-jae Park <nicesj.park@samsung.com>
9 years agoMove internal API set to internal header file.
Kyuho Jo [Thu, 7 May 2015 04:53:56 +0000 (13:53 +0900)]
Move internal API set to internal header file.

Change-Id: Id94c88aedec1f7add24363d8cffc26fc72d39936
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years ago1. Move internal API set for notification_list to notification_list.h
Kyuho Jo [Wed, 6 May 2015 06:49:09 +0000 (15:49 +0900)]
1. Move internal API set for notification_list to notification_list.h
2. New API set for notification system setting
3. Correct abnormal file access permsssions

Change-Id: I9a00c7bedadcd2e350875246197f22c7488cdd13
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years ago1. Remove API set for domain from public API
Kyuho Jo [Mon, 4 May 2015 05:41:27 +0000 (14:41 +0900)]
1. Remove API set for domain from public API
2. Add new internal API for on-going type

Change-Id: I22535d8009cef94dd27ab842fb1032e4bcc4a10d
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoGive detail license information
Kyuho Jo [Fri, 1 May 2015 03:19:40 +0000 (12:19 +0900)]
Give detail license information

Change-Id: I5b2a79f089f3b8d77a477f095fece5e92926ca88
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years ago1. New API set for notification settings.
Kyuho Jo [Thu, 30 Apr 2015 09:48:37 +0000 (18:48 +0900)]
1. New API set for notification settings.
2. notification_set_event_handler/notification_get_event_handler are implemented.

Change-Id: I63ae26521a3bee757551b581316267fdf322ef86
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years ago1. new public API set for setting/getting permissions of the notification.
Kyuho Jo [Tue, 21 Apr 2015 06:28:12 +0000 (15:28 +0900)]
1. new public API set for setting/getting permissions of the notification.
2. new internal API set for setting/getting property of settings.

Change-Id: I982fce9538d11d6465a02e6abb4f91431e1145f8
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoFix PREVENT issues
Kyuho Jo [Mon, 20 Apr 2015 13:45:31 +0000 (22:45 +0900)]
Fix PREVENT issues

Change-Id: Ifcaf7a672732015009047b4b2d3304c5f715de4d
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoRemoved test_app from build
Kyuho Jo [Wed, 15 Apr 2015 12:04:20 +0000 (21:04 +0900)]
Removed test_app from build

Change-Id: I4218c277e1d7d480f09848826aa56e94203f3f81
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoRemoved test_app from build
Kyuho Jo [Wed, 15 Apr 2015 11:22:26 +0000 (20:22 +0900)]
Removed test_app from build

Change-Id: I218b66bbe49c23fc3d71ee7788525836bb248c90
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoModification of access rights for the DB file.
Kyuho Jo [Wed, 15 Apr 2015 08:32:20 +0000 (17:32 +0900)]
Modification of access rights for the DB file.

Change-Id: I7e4a14136cf687985d21a2c5f2275fd437043c3a
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoTest application for notification API
Kyuho Jo [Mon, 6 Apr 2015 11:59:32 +0000 (20:59 +0900)]
Test application for notification API

Change-Id: I0cf92977293b0885ec06d5cc342062a0943024f5
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoTest application for notification API
Kyuho Jo [Mon, 6 Apr 2015 07:56:09 +0000 (16:56 +0900)]
Test application for notification API

Change-Id: I3995828c1d097be29549015c0c336e2e811d46ac
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoRemove separated doc header files
Kyuho Jo [Mon, 23 Mar 2015 05:29:47 +0000 (14:29 +0900)]
Remove separated doc header files

Change-Id: I3bfd5a1230a7a57c368ee9c5f0026d457b9c270b
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
9 years agoModify 'since tag' for wearable profile
Kyuho Jo [Mon, 23 Mar 2015 03:55:22 +0000 (12:55 +0900)]
Modify 'since tag' for wearable profile

Change-Id: Iae940aee7a8cb15db59180f51ddc935f315b6b27
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>