seungha.son [Wed, 11 Jan 2017 08:31:52 +0000 (17:31 +0900)]
Fix wrong log level
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I52b32aa028f9842b7cbbfc1cf5ffbf871a2a8716
seungha.son [Wed, 11 Jan 2017 07:06:42 +0000 (16:06 +0900)]
Changes type conversion macros
- Match declared data type and conversion macros.
- variable 'priv_id' is declared to int.
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I0e6a065d14b03c1222391f0c17eac0700c321e9f
seungha.son [Wed, 11 Jan 2017 07:00:33 +0000 (23:00 -0800)]
Merge "Modified type definitions" into tizen_3.0
seungha.son [Wed, 11 Jan 2017 06:23:05 +0000 (15:23 +0900)]
Modified type definitions
- This can cause pointers to be assigned to int and vice-versa.
But on a 64-bit system, assigning a pointer to an int causes
the truncation of the high-order 32-bits.
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I7d8c1e122af1b4c8a88cc8d1de9e4eaa898f9dec
seungha.son [Thu, 5 Jan 2017 13:26:28 +0000 (22:26 +0900)]
Add a new API to check if event send is possible
- New API check if notification event is sended to application.
- This patch include, if data-provider-master is terminated abnormally,
application check state of data-provider-master and request to
register callback again.
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I754307d375407b8c4f5d3d031af6faa4cfe2a3bf
Myungki Lee [Fri, 6 Jan 2017 07:55:18 +0000 (16:55 +0900)]
Remove unnecessary if() when creating a reply_body
- Fixed an issue that updating is not possible when set to none like -1.
Change-Id: Ibb48e73adf1914e7d647d6927db00c9aae1d0820
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
seungha.son [Fri, 6 Jan 2017 06:45:20 +0000 (15:45 +0900)]
Fix notification query
- If data-provider-master send a notification handle to the application
except for the uid column in notification db, the uid is initialized to 0.
which is a problem.
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I7b174ccdb965fa49d1ef25e75d94ed3f8e8278a2
Myungki Lee [Wed, 28 Dec 2016 05:36:55 +0000 (14:36 +0900)]
Support to receive cb when selected in viewer
- if user select a notification on quickpanel, receive a pressed event cb.
if user swipe a notification on quickpanel, receive a deleted event cb.
Change-Id: Ibe691e5af49ef1ecaee82b7363fef47ece00c096
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Myungki Lee [Thu, 22 Dec 2016 09:09:36 +0000 (18:09 +0900)]
Fix the wrong behavior of update_setting
Change-Id: I5423d01fcab9d76c6be5233e6a591ec01953bee5
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
seungha.son [Fri, 16 Dec 2016 05:21:36 +0000 (14:21 +0900)]
Fix API description
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I5fabd4a81c5e9004b1232b966d74a5be61df8ff1
Myungki Lee [Fri, 16 Dec 2016 10:06:53 +0000 (19:06 +0900)]
Add the check routine for app_enable/disable
- when app disabled, notification will not post.
Change-Id: If6bffd5b4e73e5127655270b57c5ec6d1f9e3d78
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
seungha.son [Mon, 12 Dec 2016 07:25:33 +0000 (16:25 +0900)]
Change wrong log macro
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I1048ea34165408d8c3a1af6b287cc23cf2c495ed
seungha.son [Fri, 2 Dec 2016 10:24:54 +0000 (19:24 +0900)]
Rename upgrade script name
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I37c18122ccb704892c0e9c643fbcdb8e4bd7b5aa
seungha.son [Wed, 30 Nov 2016 09:05:04 +0000 (18:05 +0900)]
Fix notification translation SMACK issue
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I15f700b2c80d487da509431897847b7ec52fcb95
seungha.son [Tue, 29 Nov 2016 06:35:17 +0000 (15:35 +0900)]
Remove Null check logic
- Because, Null is already checked where this API is called.
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I62bede4636f531c61938042982079f83a134e021
seungha.son [Tue, 29 Nov 2016 05:57:04 +0000 (14:57 +0900)]
Add GCompareFunc typecasting
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I97782d6446d7a49f4e1c816817e1f136ac3fe328
Myungki Lee [Tue, 29 Nov 2016 01:55:33 +0000 (10:55 +0900)]
Add define _GNU_SOURCE for strerror_r
- Only GNU strerror_r return char *
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Change-Id: I3057780e88574f8ec8af7f48063544be1508612d
seungha.son [Mon, 28 Nov 2016 10:14:13 +0000 (19:14 +0900)]
Adjust coding rule
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: If6dc6aa686e0d3c6bf81490c9924ef5f4ea12d8c
seungha.son [Thu, 24 Nov 2016 04:47:31 +0000 (13:47 +0900)]
Add exception logic for installed app by globalapp
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I1dac4303d876ec8fc47cfc6c21a59d87377d930b
Myungki Lee [Mon, 21 Nov 2016 23:45:51 +0000 (15:45 -0800)]
Merge "Adjust coding style" into tizen_3.0
Myungki Lee [Mon, 21 Nov 2016 07:20:35 +0000 (16:20 +0900)]
Adds the explanation about the param
- For notification_set_text_input()
Change-Id: I871cd12259f1e87328d2bf2fe6903fed4700a2f1
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Myungki Lee [Mon, 21 Nov 2016 05:15:33 +0000 (14:15 +0900)]
Adjust coding style
Change-Id: I39b4186396ba096f83484f9e823d9c7825aa7663
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
seungha.son [Tue, 15 Nov 2016 05:00:06 +0000 (14:00 +0900)]
Fix issue about GHashtable and GList
- The issue mat arise if GList is used for the value of GHashtable,
If the head list of GList is deleted, GHashtable will not be able to
find GList.
The problem is solved by replacing the corresponding list with GHashTable.
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Ifecadeceee9041baaff30734af335a820ce73b02
seungha.son [Fri, 4 Nov 2016 06:57:18 +0000 (15:57 +0900)]
Adds appid to notification_setting_h
- Change notification setting from package base to app_id base
- Modify FOTA upgrade scripts
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I04f6d3cde07107f838e878065bf816c913dea353
Myungki Lee [Tue, 8 Nov 2016 10:30:23 +0000 (19:30 +0900)]
Can set NULL to path of image
- When the image type has a path
Change-Id: I3e99b854580ea67cacf5a7dce97c8fe2c8b0a40b
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Myungki Lee [Mon, 7 Nov 2016 10:45:05 +0000 (19:45 +0900)]
Merge branch 'tizen' into tizen_3.0
Change-Id: I3a643ee1131d1746fb0b4db8d027659e2ba3d1d8
Myungki Lee [Mon, 7 Nov 2016 08:21:21 +0000 (17:21 +0900)]
Fix test-app
Change-Id: Id08e4f9bf6b375e7b80f1d8bdf95afbbcebe325e
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Myungki Lee [Tue, 1 Nov 2016 06:32:44 +0000 (15:32 +0900)]
Updates the guide codes in set_text_input()
- guides two options
1. Show text input box directly
2. Show when pressing the button
Change-Id: I50f3c05d1e67628080c936038bea7a53f3a78b55
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
seungha.son [Tue, 1 Nov 2016 10:27:41 +0000 (19:27 +0900)]
Delete notification_setting_set_package_name API()
- It is dangerous that package_name is changed.
If package name is changed, unexpected problems may arise.
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Ic2939c8385cc5b639a14a8ee45e3e1f89f83798c
seungha.son [Tue, 1 Nov 2016 04:40:37 +0000 (13:40 +0900)]
Add error handling code when row_count is zero
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: If4f6a2f6acb841e84c1d489b22118e0043382ecb
Hyunho Kang [Thu, 20 Oct 2016 12:10:27 +0000 (21:10 +0900)]
Fix notification_update_async bug
Async should not free msg, will be freed by gdbus after async call done
Change-Id: I7bfce5a2c62d1d2e3b8b963fd05c3ddab8342527
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
seungha.son [Wed, 12 Oct 2016 01:35:26 +0000 (10:35 +0900)]
Delete unused variable
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Iaed55d917f35c4d421a2497e2dca343d2755bf8d
Myungki Lee [Mon, 10 Oct 2016 12:42:25 +0000 (21:42 +0900)]
Use pkgid to get domain, path of dir
- instead of app_id
Change-Id: I61e05ead3ba797a3c950fd633b3502d4da0a1191
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
seungha.son [Tue, 4 Oct 2016 07:20:31 +0000 (16:20 +0900)]
Implement function to support notification dnd changed callback
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Ibdc5dc51f4418f16b58451af11e26e2804431fa9
Myungki Lee [Wed, 5 Oct 2016 02:05:08 +0000 (11:05 +0900)]
Adjust the coding style
Change-Id: I4c4ae4ef84fa91d9060188115e495808e228a6d4
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
seungha.son [Thu, 29 Sep 2016 09:05:07 +0000 (18:05 +0900)]
Fix 'allowed calls exception' do not work problem
- Modify GList find method.
- Modify DB query in dnd_allow_exception db table.
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I2c042fa99b2443d23fc83187eaafe197a4a1cd0b
Myungki Lee [Mon, 26 Sep 2016 00:34:57 +0000 (09:34 +0900)]
Add b_event_handler_click_on_text_input_button to db
Change-Id: Ib7703b772173f15f8e677e4dcc50e63e7994db2b
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
seungha.son [Fri, 23 Sep 2016 08:37:18 +0000 (17:37 +0900)]
Fix wrong notification handle initialization
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I70db7c704c91cfff986a0b84aea501664c0c8b1d
seungha.son [Tue, 20 Sep 2016 02:42:19 +0000 (11:42 +0900)]
Add apis for notification post with event handler callback
- notification_post_with_event_cb() API provide one event callback and
distinguish the event by parameter.
- notification_send_event() API is for sending event to daemon or app.
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I4232568eb7bb02994f049f81685ae0310327dc69
Myungki Lee [Thu, 22 Sep 2016 09:11:20 +0000 (18:11 +0900)]
Add logic to init a dnd_allow_exception db
Change-Id: I0f17989634dc898b62dbe909c80594949765721e
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
seungha.son [Fri, 23 Sep 2016 01:36:13 +0000 (10:36 +0900)]
Fix wrong header description
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Idd28e5f79d05d236aae9e7fd61616bc9748161ea
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>
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>
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>
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
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>
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>
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
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
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
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
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
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>
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>
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
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
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
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
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
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
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>
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
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>
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>
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
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
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
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>
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>
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>
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
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
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
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
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
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>
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>
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
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>
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>
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>
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
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>
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>
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>
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>
HwanKyu Jhun [Wed, 6 Jul 2016 00:57:29 +0000 (17:57 -0700)]
Merge "Add uid clone for notification_clone()" into tizen
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>
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
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>
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
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
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>
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>
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
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>
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
Hyunho Kang [Wed, 15 Jun 2016 02:22:06 +0000 (19:22 -0700)]
Merge "Fix unintended db creation bug" into tizen
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>
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>