summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2016-12-22Fix the wrong behavior of update_settingsubmit/tizen_3.0/20161222.111552submit/tizen_3.0.m2/20170104.093749accepted/tizen/3.0/wearable/20161226.025635accepted/tizen/3.0/tv/20161226.025627accepted/tizen/3.0/mobile/20161226.025612accepted/tizen/3.0/ivi/20161226.025642accepted/tizen/3.0/common/20161227.101508accepted/tizen/3.0.m2/wearable/20170104.122702accepted/tizen/3.0.m2/tv/20170104.122317accepted/tizen/3.0.m2/mobile/20170104.121821tizen_3.0.m2accepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobileMyungki Lee1-2/+1
Change-Id: I5423d01fcab9d76c6be5233e6a591ec01953bee5 Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
2016-12-16Add the check routine for app_enable/disableMyungki Lee5-18/+145
- when app disabled, notification will not post. Change-Id: If6bffd5b4e73e5127655270b57c5ec6d1f9e3d78 Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
2016-12-12Change wrong log macroseungha.son1-1/+1
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I1048ea34165408d8c3a1af6b287cc23cf2c495ed
2016-11-30Fix notification translation SMACK issuesubmit/tizen_3.0/20161130.105146submit/tizen_3.0/20161130.105137accepted/tizen/3.0/wearable/20161201.031603accepted/tizen/3.0/tv/20161201.031556accepted/tizen/3.0/mobile/20161201.031536accepted/tizen/3.0/ivi/20161201.031606accepted/tizen/3.0/common/20161201.135151seungha.son3-14/+26
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I15f700b2c80d487da509431897847b7ec52fcb95
2016-11-29Remove Null check logicsubmit/tizen_3.0/20161130.023420accepted/tizen/3.0/wearable/20161130.091156accepted/tizen/3.0/tv/20161130.091138accepted/tizen/3.0/mobile/20161130.091110accepted/tizen/3.0/ivi/20161130.091210accepted/tizen/3.0/common/20161130.133545seungha.son1-6/+0
- Because, Null is already checked where this API is called. Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I62bede4636f531c61938042982079f83a134e021
2016-11-29Add GCompareFunc typecastingseungha.son2-4/+4
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I97782d6446d7a49f4e1c816817e1f136ac3fe328
2016-11-29Add define _GNU_SOURCE for strerror_rMyungki Lee2-2/+2
- Only GNU strerror_r return char * Signed-off-by: Myungki Lee <mk5004.lee@samsung.com> Change-Id: I3057780e88574f8ec8af7f48063544be1508612d
2016-11-28Adjust coding ruleseungha.son1-5/+7
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: If6dc6aa686e0d3c6bf81490c9924ef5f4ea12d8c
2016-11-24Add exception logic for installed app by globalappsubmit/tizen_3.0/20161124.053537accepted/tizen/3.0/wearable/20161125.075953accepted/tizen/3.0/tv/20161125.075910accepted/tizen/3.0/mobile/20161125.075848accepted/tizen/3.0/ivi/20161125.080006accepted/tizen/3.0/common/20161125.101443seungha.son1-3/+5
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I1dac4303d876ec8fc47cfc6c21a59d87377d930b
2016-11-21Adjust coding styleMyungki Lee6-33/+32
Change-Id: I39b4186396ba096f83484f9e823d9c7825aa7663 Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
2016-11-15Fix issue about GHashtable and GListsubmit/tizen_3.0/20161117.022446accepted/tizen/3.0/wearable/20161118.003808accepted/tizen/3.0/tv/20161118.003746accepted/tizen/3.0/mobile/20161118.003726accepted/tizen/3.0/ivi/20161118.003828accepted/tizen/3.0/common/20161118.192937seungha.son1-38/+71
- 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
2016-11-10Adds appid to notification_setting_hsubmit/tizen_3.0/20161115.024443submit/tizen_3.0/20161111.015333accepted/tizen/3.0/wearable/20161116.022200accepted/tizen/3.0/tv/20161116.022122accepted/tizen/3.0/mobile/20161116.022016accepted/tizen/3.0/ivi/20161116.022239accepted/tizen/3.0/common/20161116.143503seungha.son5-182/+238
- 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
2016-11-08Can set NULL to path of imagesubmit/tizen_3.0_common/20161110.084657submit/tizen_3.0/20161108.101813accepted/tizen/3.0/wearable/20161110.020313accepted/tizen/3.0/tv/20161110.020253accepted/tizen/3.0/mobile/20161110.020235accepted/tizen/3.0/ivi/20161110.020331accepted/tizen/3.0/common/20161114.081541Myungki Lee1-4/+8
- When the image type has a path Change-Id: I3e99b854580ea67cacf5a7dce97c8fe2c8b0a40b Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
2016-11-01Delete notification_setting_set_package_name API()seungha.son1-16/+0
- 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
2016-11-01Add error handling code when row_count is zerosubmit/tizen_3.0/20161102.051512submit/tizen/20161101.004208accepted/tizen/wearable/20161101.122946accepted/tizen/tv/20161101.122923accepted/tizen/mobile/20161101.122844accepted/tizen/ivi/20161101.123005accepted/tizen/common/20161102.121412accepted/tizen/3.0/wearable/20161102.075653accepted/tizen/3.0/tv/20161102.075622accepted/tizen/3.0/mobile/20161102.075511accepted/tizen/3.0/ivi/20161102.075724seungha.son1-0/+10
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: If4f6a2f6acb841e84c1d489b22118e0043382ecb
2016-10-20Fix notification_update_async bugsubmit/tizen/20161031.010650accepted/tizen/wearable/20161031.082246accepted/tizen/tv/20161031.082224accepted/tizen/mobile/20161031.082132accepted/tizen/ivi/20161031.082305accepted/tizen/common/20161031.121550Hyunho Kang1-2/+0
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>
2016-10-12Delete unused variablesubmit/tizen_3.0_common/20161104.104000submit/tizen_3.0/20161028.082323submit/tizen_3.0/20161028.062323submit/tizen/20161012.064511accepted/tizen/wearable/20161014.022109accepted/tizen/tv/20161014.022137accepted/tizen/mobile/20161014.022221accepted/tizen/ivi/20161014.022150accepted/tizen/common/20161012.154656accepted/tizen/3.0/wearable/20161028.122724accepted/tizen/3.0/tv/20161028.122512accepted/tizen/3.0/mobile/20161028.122211accepted/tizen/3.0/ivi/20161028.122939seungha.son1-4/+0
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: Iaed55d917f35c4d421a2497e2dca343d2755bf8d
2016-10-10Use pkgid to get domain, path of dirsubmit/tizen/20161010.125001submit/tizen/20161010.124901accepted/tizen/wearable/20161011.050359accepted/tizen/tv/20161011.050344accepted/tizen/mobile/20161011.050329accepted/tizen/ivi/20161011.050415accepted/tizen/common/20161010.150111Myungki Lee1-20/+19
- instead of app_id Change-Id: I61e05ead3ba797a3c950fd633b3502d4da0a1191 Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
2016-10-05Implement function to support notification dnd changed callbacksubmit/tizen_3.0_wearable/20161015.000004submit/tizen_3.0_tv/20161015.000004submit/tizen_3.0_mobile/20161015.000005submit/tizen_3.0_ivi/20161010.000005submit/tizen/20161005.072822accepted/tizen/wearable/20161006.075643accepted/tizen/tv/20161006.075628accepted/tizen/mobile/20161006.075609accepted/tizen/ivi/20161006.075655accepted/tizen/common/20161005.165600accepted/tizen/3.0/wearable/20161015.083511accepted/tizen/3.0/tv/20161016.005123accepted/tizen/3.0/mobile/20161015.033859accepted/tizen/3.0/ivi/20161011.055300seungha.son1-0/+51
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: Ibdc5dc51f4418f16b58451af11e26e2804431fa9
2016-10-05Adjust the coding styleMyungki Lee2-3/+5
Change-Id: I4c4ae4ef84fa91d9060188115e495808e228a6d4 Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
2016-09-30Fix 'allowed calls exception' do not work problemsubmit/tizen/20160930.042450accepted/tizen/wearable/20160930.232724accepted/tizen/tv/20160930.232710accepted/tizen/mobile/20160930.232653accepted/tizen/ivi/20160930.232739accepted/tizen/common/20160930.174749seungha.son2-34/+47
- 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
2016-09-26Add b_event_handler_click_on_text_input_button to dbsubmit/tizen/20160926.012336accepted/tizen/wearable/20160927.020927accepted/tizen/tv/20160927.020915accepted/tizen/mobile/20160927.020944accepted/tizen/ivi/20160927.020937accepted/tizen/common/20160926.154153Myungki Lee3-16/+28
Change-Id: Ib7703b772173f15f8e677e4dcc50e63e7994db2b Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
2016-09-23Fix wrong notification handle initializationseungha.son1-1/+1
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I70db7c704c91cfff986a0b84aea501664c0c8b1d
2016-09-23Add apis for notification post with event handler callbackseungha.son5-12/+309
- 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
2016-09-22Add logic to init a dnd_allow_exception dbMyungki Lee1-1/+20
Change-Id: I0f17989634dc898b62dbe909c80594949765721e Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
2016-09-22Move notification_get_text_input_max_length to internalMyungki Lee2-12/+12
- Fix typo - change range to check event_type Change-Id: I32af45dd74a5a4e9586ad6af71a78d6d40bc5f5a Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
2016-09-22Add check routine whether a parameter is nullMyungki Lee1-1/+1
- notification_system_setting_get_dnd_allow_exceptions() Change-Id: Ib146438e008dc47293dcd89c163937bc3e0398d5 Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
2016-09-21Change a default value of do_not_disturb schedulesubmit/tizen/20160922.051802accepted/tizen/common/20160922.120858Myungki Lee1-3/+3
- 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>
2016-09-20Add new api for direct replyMyungki Lee3-13/+60
Change-Id: I0944647478f8ef7ee0f1cb60da038054b6531037 Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
2016-09-20Add error check conditional statementseungha.son1-1/+7
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I4f43c3bfdbb95d73b805f2712bedf9004875b966
2016-09-20Modify query in notification dbseungha.son1-10/+22
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: Ie86924d896d5730a0073b8a45fd969966f9a7ce2
2016-09-20Remove unnecessary space and lineseungha.son1-2/+1
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: Ice9531ebccb66f24128716506590926f75cd0dc6
2016-09-20Fix wrong function namingseungha.son1-3/+3
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: Icc978ec9d9dd39f59027745362004b9a910776a4
2016-09-19Add apis for dnd_allow_exceptionMyungki Lee4-2/+266
- 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>
2016-09-09Fix wrong condition statementsubmit/tizen/20160919.100356accepted/tizen/wearable/20160920.051902accepted/tizen/tv/20160920.051843accepted/tizen/mobile/20160920.051829accepted/tizen/ivi/20160920.051921accepted/tizen/common/20160919.154747seungha.son1-2/+2
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I899db908eac4f51ca67a1e598af188a24a854b21
2016-09-09Remove unused variable and condition statementseungha.son1-3/+0
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I9b3876259c908eae0b9df865b36e0374bf47966e
2016-09-08Add notification hide event type and get/set hide time APIseungha.son5-4/+33
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: Ie7ac962016cd0d0cfe23d28e01e05347d5c369da
2016-09-07Add API for get/set notification ongoing value type and timeseungha.son5-7/+77
- 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
2016-09-06Add API for get/set default highlight buttonseungha.son5-5/+35
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: If13602041791ba173a7cadd6af72885b2833eff6
2016-08-30Add API for gets/sets notification setting details from individual applicationsubmit/tizen/20160905.010800accepted/tizen/wearable/20160905.235829accepted/tizen/tv/20160905.235802accepted/tizen/mobile/20160905.235716accepted/tizen/ivi/20160905.235855accepted/tizen/common/20160905.171403seungha.son5-15/+120
- 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
2016-08-30Add exception in case pkgname is nullMyungki Lee2-7/+11
- GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed Change-Id: I65a99c0c3031abd9dc9477adc78b0ba02d681d06 Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
2016-08-26Add logic for init notification_system_setting table in notification dbsubmit/tizen/20160830.010724submit/tizen/20160829.010716accepted/tizen/wearable/20160830.061115accepted/tizen/tv/20160830.061022accepted/tizen/mobile/20160830.060922accepted/tizen/ivi/20160830.061200accepted/tizen/common/20160830.150113accepted/tizen/common/20160829.135824seungha.son2-0/+98
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I7270e66b6073b0fa821dc807092a3c9c76192a54
2016-08-26Add new api to get notification block stateseungha.son3-4/+157
- 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
2016-08-25Fix wrong log spellingseungha.son1-1/+1
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I8dfe173d4b3124b14249eea30e356520402097ac
2016-08-21Add new apis to set/get noti_templateMyungki Lee5-3/+635
Change-Id: I0499f225f6c0aee45e4b18b5671866de20ffc4a4 Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
2016-08-16Add new api to count the notification listMyungki Lee1-0/+22
Change-Id: Id345fe4847957044741dd0d1b39c2cc9893cf1d3 Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
2016-08-04Add internal api for notification system dnd schedule changed callbacksubmit/tizen/20160809.051427submit/tizen/20160809.011327accepted/tizen/wearable/20160809.232657accepted/tizen/tv/20160809.232451accepted/tizen/mobile/20160809.232332accepted/tizen/ivi/20160809.232602accepted/tizen/common/20160809.183903seungha.son3-1/+213
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I5f3c59388d7ce2b834546930ef11e6d5a3fa72a8
2016-07-28Remove alarm-manager dependencysubmit/tizen/20160803.012753accepted/tizen/wearable/20160804.080502accepted/tizen/tv/20160804.080701accepted/tizen/mobile/20160804.080835accepted/tizen/ivi/20160804.080743accepted/tizen/common/20160803.193131seungha.son1-91/+0
- 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
2016-07-25Delete unnecessary codeseungha.son1-3/+1
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I09a0888903b92121551ccc8a71d8764804f01125
2016-07-12Check uid in notification_create funcsubmit/tizen/20160712.090432accepted/tizen/wearable/20160713.000510accepted/tizen/tv/20160713.000530accepted/tizen/mobile/20160713.000440accepted/tizen/ivi/20160713.000610accepted/tizen/common/20160713.050551Myungki Lee1-27/+36
Change-Id: Ifd9b3e1558b3a3eac2291003be097ea167e9fdb6 Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>