platform/core/api/notification.git
8 years agoMove notification_get_text_input_max_length to internal 51/89151/2
Myungki Lee [Thu, 22 Sep 2016 11:50:44 +0000 (20:50 +0900)]
Move notification_get_text_input_max_length to internal

- Fix typo
- change range to check event_type

Change-Id: I32af45dd74a5a4e9586ad6af71a78d6d40bc5f5a
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoAdd check routine whether a parameter is null 09/89109/1
Myungki Lee [Thu, 22 Sep 2016 07:45:27 +0000 (16:45 +0900)]
Add check routine whether a parameter is null

- notification_system_setting_get_dnd_allow_exceptions()

Change-Id: Ib146438e008dc47293dcd89c163937bc3e0398d5
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoChange a default value of do_not_disturb schedule 79/88979/1 accepted/tizen/common/20160922.120858 submit/tizen/20160922.051802
Myungki Lee [Wed, 21 Sep 2016 08:57:39 +0000 (17:57 +0900)]
Change a default value of do_not_disturb schedule

- dnd_schedule_day M T W T F
- dnd_start_hour 22
- dnd_end_hour 8

Change-Id: I017a099691693fbbc20fa6ebc480776cf88d960e
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoFix wrong typo in header description 29/88929/1
seungha.son [Wed, 21 Sep 2016 06:32:38 +0000 (15:32 +0900)]
Fix wrong typo in header description

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

8 years agoAdd new api for direct reply 71/85671/22
Myungki Lee [Wed, 21 Sep 2016 04:13:16 +0000 (13:13 +0900)]
Add new api for direct reply

Change-Id: I0944647478f8ef7ee0f1cb60da038054b6531037
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoFix typo and coding style 03/88903/2
Myungki Lee [Wed, 21 Sep 2016 05:56:24 +0000 (14:56 +0900)]
Fix typo and coding style

Change-Id: I9aa0932bd83ff09ce0817662e8190aef23d3c2ff
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoAdd description for notification_event_type_extension_e 22/88822/1
seungha.son [Wed, 21 Sep 2016 00:29:27 +0000 (09:29 +0900)]
Add description for notification_event_type_extension_e

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

8 years agoAdd error check conditional statement 32/88732/3
seungha.son [Tue, 20 Sep 2016 10:53:00 +0000 (19:53 +0900)]
Add error check conditional statement

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

8 years agoModify query in notification db 51/88651/4
seungha.son [Tue, 20 Sep 2016 06:31:43 +0000 (15:31 +0900)]
Modify query in notification db

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

8 years agoRemove unnecessary space and line 09/88709/1
seungha.son [Tue, 20 Sep 2016 09:12:13 +0000 (18:12 +0900)]
Remove unnecessary space and line

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

8 years agoFix wrong function naming 09/88609/1
seungha.son [Tue, 20 Sep 2016 02:51:39 +0000 (11:51 +0900)]
Fix wrong function naming

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

8 years agoAdd apis for dnd_allow_exception 46/87646/12
Myungki Lee [Mon, 19 Sep 2016 10:10:19 +0000 (19:10 +0900)]
Add apis for dnd_allow_exception

- notification_system_setting_set_dnd_allow_exceptions()
  notification_system_setting_get_dnd_allow_exceptions()

Change-Id: I9e2fda4ca1b705383a7d74dea5198eef99c19063
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoFix typo and use upper case 07/88507/1
Myungki Lee [Mon, 19 Sep 2016 11:01:37 +0000 (20:01 +0900)]
Fix typo and use upper case

Change-Id: I1acbe348da3c86adf266904dab6adc49a5f652e8
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoFix wrong condition statement 60/87660/1 accepted/tizen/common/20160919.154747 accepted/tizen/ivi/20160920.051921 accepted/tizen/mobile/20160920.051829 accepted/tizen/tv/20160920.051843 accepted/tizen/wearable/20160920.051902 submit/tizen/20160919.100356
seungha.son [Fri, 9 Sep 2016 04:46:01 +0000 (13:46 +0900)]
Fix wrong condition statement

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

8 years agoRemove unused variable and condition statement 54/87654/1
seungha.son [Fri, 9 Sep 2016 01:38:23 +0000 (10:38 +0900)]
Remove unused variable and condition statement

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

8 years agoAdd notification hide event type and get/set hide time API 95/87295/3
seungha.son [Wed, 7 Sep 2016 08:36:49 +0000 (17:36 +0900)]
Add notification hide event type and get/set hide time API

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

8 years agoAdd API for get/set notification ongoing value type and time 42/87142/5
seungha.son [Tue, 6 Sep 2016 08:06:53 +0000 (17:06 +0900)]
Add API for get/set notification ongoing value type and time

 - Add notification ongoing value type for display time infomation.
   User gets/sets notification ongoing value type and time.

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

8 years agoAdd API for get/set default highlight button 32/87132/3
seungha.son [Mon, 5 Sep 2016 09:39:43 +0000 (18:39 +0900)]
Add API for get/set default highlight button

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

8 years agoAdjust coding rule in header descriptions 82/87182/1 accepted/tizen/common/20160912.181350 submit/tizen/20160912.053645
seungha.son [Wed, 7 Sep 2016 00:07:35 +0000 (09:07 +0900)]
Adjust coding rule in header descriptions

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

8 years agoAdd a script to upgrade notification db 21/85721/4
Myungki Lee [Mon, 5 Sep 2016 13:33:31 +0000 (22:33 +0900)]
Add a script to upgrade notification db

Change-Id: Ifadf87c7a68abc86a74af61196a56f3374d12f24
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoAdd API for gets/sets notification setting details from individual application 94/85794/8 accepted/tizen/common/20160905.171403 accepted/tizen/ivi/20160905.235855 accepted/tizen/mobile/20160905.235716 accepted/tizen/tv/20160905.235802 accepted/tizen/wearable/20160905.235829 submit/tizen/20160905.010800
seungha.son [Mon, 29 Aug 2016 06:35:14 +0000 (15:35 +0900)]
Add API for gets/sets notification setting details from individual application

 - Pop-up notification : Active notification from the app is not allowed
                         when 'Pop-up notification' is off.
 - Notification on lock screen : Notifications from the app show/hide contests
                                 or hide the notification on the lock screen.

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

8 years agoDelete engineer, debug option in the spec file 63/86163/1
Myungki Lee [Wed, 31 Aug 2016 01:46:42 +0000 (10:46 +0900)]
Delete engineer, debug option in the spec file

- TIZEN_DEBUG_ENABLE, TIZEN_ENGINEER_MODE

Change-Id: Ib529f82fa75acb14c937d6dcd26bac3bb2edbcb5
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoAdd exception in case pkgname is null 02/85902/2
Myungki Lee [Tue, 30 Aug 2016 00:52:55 +0000 (09:52 +0900)]
Add exception in case pkgname is null

- GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed

Change-Id: I65a99c0c3031abd9dc9477adc78b0ba02d681d06
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoAdd logic for init notification_system_setting table in notification db 53/85453/5 accepted/tizen/common/20160829.135824 accepted/tizen/common/20160830.150113 accepted/tizen/ivi/20160830.061200 accepted/tizen/mobile/20160830.060922 accepted/tizen/tv/20160830.061022 accepted/tizen/wearable/20160830.061115 submit/tizen/20160829.010716 submit/tizen/20160830.010724
seungha.son [Thu, 25 Aug 2016 07:05:04 +0000 (16:05 +0900)]
Add logic for init notification_system_setting table in notification db

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

8 years agoAdd new api to get notification block state 06/84006/22
seungha.son [Tue, 16 Aug 2016 08:11:25 +0000 (17:11 +0900)]
Add new api to get notification block state

 - The user can set notification block state in Setting application.
   The user can get notification block state that allow or block
   notifications by using this function.
   The "Block" means wether or not the ability to post notifications is
   blocked. But 'Do not disturb mode' means that Only notification on
   notification panel is allowed.

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

8 years agoFix wrong log spelling 82/85382/1
seungha.son [Thu, 25 Aug 2016 01:22:55 +0000 (10:22 +0900)]
Fix wrong log spelling

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

8 years agoCorrect the spelling 64/84764/1 accepted/tizen/common/20160823.132546 accepted/tizen/ivi/20160824.021559 accepted/tizen/mobile/20160824.021424 accepted/tizen/tv/20160824.021524 accepted/tizen/wearable/20160824.021634 submit/tizen/20160822.060113
Myungki Lee [Mon, 22 Aug 2016 08:19:25 +0000 (17:19 +0900)]
Correct the spelling

Change-Id: I8cea0811a9ff399efe71bb10f8ea41aa33339cce
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoAdd new apis to set/get noti_template 24/80224/22
Myungki Lee [Wed, 17 Aug 2016 04:19:36 +0000 (13:19 +0900)]
Add new apis to set/get noti_template

Change-Id: I0499f225f6c0aee45e4b18b5671866de20ffc4a4
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoAdd new api to count the notification list 08/84008/2
Myungki Lee [Tue, 16 Aug 2016 09:07:53 +0000 (18:07 +0900)]
Add new api to count the notification list

Change-Id: Id345fe4847957044741dd0d1b39c2cc9893cf1d3
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoAdd description for notification setting internal API 51/81551/9 accepted/tizen/common/20160810.161558 accepted/tizen/ivi/20160810.081757 accepted/tizen/mobile/20160810.081643 accepted/tizen/tv/20160810.081702 accepted/tizen/wearable/20160810.081727 submit/tizen/20160810.000849
seungha.son [Wed, 27 Jul 2016 04:20:57 +0000 (13:20 +0900)]
Add description for notification setting internal API

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

8 years agoAdd internal api for notification system dnd schedule changed callback 01/80501/13 accepted/tizen/common/20160809.183903 accepted/tizen/ivi/20160809.232602 accepted/tizen/mobile/20160809.232332 accepted/tizen/tv/20160809.232451 accepted/tizen/wearable/20160809.232657 submit/tizen/20160809.011327 submit/tizen/20160809.051427
seungha.son [Mon, 18 Jul 2016 10:02:58 +0000 (19:02 +0900)]
Add internal api for notification system dnd schedule changed callback

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

8 years agoRemove alarm-manager dependency 80/81680/1 accepted/tizen/common/20160803.193131 accepted/tizen/ivi/20160804.080743 accepted/tizen/mobile/20160804.080835 accepted/tizen/tv/20160804.080701 accepted/tizen/wearable/20160804.080502 submit/tizen/20160803.012753
seungha.son [Wed, 27 Jul 2016 23:04:33 +0000 (08:04 +0900)]
Remove alarm-manager dependency

 - Move function for set alarm to data-provider-master
   : https://review.tizen.org/gerrit/#/c/81679/

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

8 years agoDelete unnecessary code 57/81257/1
seungha.son [Mon, 25 Jul 2016 06:10:36 +0000 (15:10 +0900)]
Delete unnecessary code

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

8 years agoFix wrong spelling in error comment 37/81137/1
seungha.son [Fri, 22 Jul 2016 08:30:13 +0000 (17:30 +0900)]
Fix wrong spelling in error comment

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

8 years agoChange test app for setting text domain 37/80337/1
Semun Lee [Sun, 17 Jul 2016 02:34:27 +0000 (11:34 +0900)]
Change test app for setting text domain

Change-Id: I5317e89b9a98bef889358b80bc67c6c8f4cfd779
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agoCheck uid in notification_create func 42/79742/2 accepted/tizen/common/20160713.050551 accepted/tizen/ivi/20160713.000610 accepted/tizen/mobile/20160713.000440 accepted/tizen/tv/20160713.000530 accepted/tizen/wearable/20160713.000510 submit/tizen/20160712.090432
Myungki Lee [Tue, 12 Jul 2016 13:52:31 +0000 (22:52 +0900)]
Check uid in notification_create func

Change-Id: Ifd9b3e1558b3a3eac2291003be097ea167e9fdb6
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoFix wrong memory deallocation 65/79665/1 accepted/tizen/ivi/20160712.132240 accepted/tizen/mobile/20160712.132138 accepted/tizen/tv/20160712.132200 accepted/tizen/wearable/20160712.132215
seungha.son [Tue, 12 Jul 2016 08:17:26 +0000 (17:17 +0900)]
Fix wrong memory deallocation

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

8 years agoDelete the unused files, codes, comments 72/79072/3
Myungki Lee [Fri, 8 Jul 2016 07:44:57 +0000 (16:44 +0900)]
Delete the unused files, codes, comments

- Permission check is performed by dbus
- Delete unnessary comments
- Modify the inefficient codes

Change-Id: Idb3e2bb93b28d5694bae00062292be523b598944
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoUse default text when translation fails 25/79225/2 accepted/tizen/common/20160712.150342 accepted/tizen/ivi/20160711.031201 accepted/tizen/mobile/20160711.030756 accepted/tizen/tv/20160711.030704 accepted/tizen/wearable/20160711.030718 submit/tizen/20160711.014306
Semun Lee [Sat, 9 Jul 2016 07:16:22 +0000 (16:16 +0900)]
Use default text when translation fails

Change-Id: I8a0de4626e8e7716488ad8e9bbc895fa8a2abfb1
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agoDon't remove key strings for localization 23/79223/1 accepted/tizen/common/20160711.165742 accepted/tizen/ivi/20160709.072027 accepted/tizen/mobile/20160709.071936 accepted/tizen/tv/20160709.071953 accepted/tizen/wearable/20160709.072010 submit/tizen/20160709.055434
Semun Lee [Sat, 9 Jul 2016 05:39:04 +0000 (14:39 +0900)]
Don't remove key strings for localization

notification viewer (quickpanel) may use the keys for localizing
when the language setting is changed in runtime.

Change-Id: Ifbf7299a3d27b0e06ca20c99feb00cd2dbacd6e2
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agoExclude function from measure coverage 27/79027/1 accepted/tizen/common/20160708.140706 accepted/tizen/ivi/20160708.091841 accepted/tizen/mobile/20160708.091715 accepted/tizen/tv/20160708.091812 accepted/tizen/wearable/20160708.091703 submit/tizen/20160708.025112
seungha.son [Fri, 8 Jul 2016 00:29:18 +0000 (09:29 +0900)]
Exclude function from measure coverage

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

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