summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-01-17Adds new API for get/set delete timeoutsubmit/tizen_3.0/20170117.104748accepted/tizen/3.0/wearable/20170118.043459accepted/tizen/3.0/tv/20170118.043455accepted/tizen/3.0/mobile/20170118.043448accepted/tizen/3.0/ivi/20170118.043503accepted/tizen/3.0/common/20170118.131227seungha.son8-30/+147
- Get/Set timeout value in second when the notification can be hidden from the viewer. Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I2a013f58da6aa16bf153e2ca6eb5641a661e92c5
2017-01-16Change the logic to check allowed_to_notify()Myungki Lee1-3/+3
- if there is no app_control and can't get settting, should not check allow_to_notify and app_disabled. - Adjust the log level because no setting is not an error. Change-Id: I69bec78ce07c617e39f46af8b135ae0ed4bdbffc Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
2017-01-16Exclude function from measure coverageMyungki Lee2-0/+4
- notification_setting_db_update_app_disabled : called when app disabled - get_setting_from_app_control : called if can't find setting Change-Id: Iaa37e24a1a741fd3e539de23bea248e9e57f4ac1 Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
2017-01-13Adds additional dnd schedule week enum valuesubmit/tizen_3.0/20170116.091328accepted/tizen/3.0/wearable/20170117.005644accepted/tizen/3.0/tv/20170117.005624accepted/tizen/3.0/mobile/20170117.005610accepted/tizen/3.0/ivi/20170117.005701accepted/tizen/3.0/common/20170117.075728seungha.son1-0/+8
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: Ie159f263c9eae0bca80f592f4a0496cf584f7fb9
2017-01-11Fix wrong log levelsubmit/tizen_common/20170112.224201submit/tizen_3.0/20170111.084510submit/tizen/20170112.062902accepted/tizen/wearable/20170112.223058accepted/tizen/tv/20170112.223040accepted/tizen/mobile/20170112.223014accepted/tizen/ivi/20170112.223115accepted/tizen/common/20170113.184543accepted/tizen/3.0/wearable/20170113.080142accepted/tizen/3.0/tv/20170113.080124accepted/tizen/3.0/mobile/20170113.080108accepted/tizen/3.0/ivi/20170113.080200accepted/tizen/3.0/common/20170113.181937seungha.son1-1/+1
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I52b32aa028f9842b7cbbfc1cf5ffbf871a2a8716
2017-01-11Changes type conversion macrosseungha.son1-4/+4
- 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
2017-01-10Merge "Modified type definitions" into tizen_3.0seungha.son1-3/+3
2017-01-11Modified type definitionsseungha.son1-3/+3
- 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
2017-01-11Add a new API to check if event send is possibleseungha.son4-0/+156
- 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
2017-01-06Remove unnecessary if() when creating a reply_bodyMyungki Lee1-4/+2
- 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>
2017-01-06Fix notification queryseungha.son1-5/+6
- 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
2016-12-28Support to receive cb when selected in viewersubmit/tizen_3.0/20170104.055639accepted/tizen/3.0/wearable/20170105.231627accepted/tizen/3.0/tv/20170105.231612accepted/tizen/3.0/mobile/20170105.231552accepted/tizen/3.0/ivi/20170105.231646accepted/tizen/3.0/common/20170109.195429Myungki Lee2-3/+7
- 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>
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-18Fix API descriptionsubmit/tizen_3.0/20161219.021225accepted/tizen/3.0/wearable/20161221.005026accepted/tizen/3.0/tv/20161221.004912accepted/tizen/3.0/mobile/20161221.005203accepted/tizen/3.0/ivi/20161221.005125accepted/tizen/3.0/common/20161221.180451seungha.son5-653/+630
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I5fabd4a81c5e9004b1232b966d74a5be61df8ff1
2016-12-16Add the check routine for app_enable/disableMyungki Lee9-23/+187
- 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-12-02Rename upgrade script namesubmit/tizen_3.0/20161202.085638accepted/tizen/3.0/wearable/20161204.235804accepted/tizen/3.0/tv/20161204.235737accepted/tizen/3.0/mobile/20161204.235628accepted/tizen/3.0/ivi/20161204.235833accepted/tizen/3.0/common/20161205.091841seungha.son2-2/+2
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I37c18122ccb704892c0e9c643fbcdb8e4bd7b5aa
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.son4-14/+28
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-21Merge "Adjust coding style" into tizen_3.0submit/tizen_3.0/20161122.002346submit/tizen/20161124.000829accepted/tizen/wearable/20161125.004004accepted/tizen/tv/20161125.003853accepted/tizen/mobile/20161125.003515accepted/tizen/ivi/20161125.004126accepted/tizen/common/20161125.095042accepted/tizen/3.0/wearable/20161124.024540accepted/tizen/3.0/tv/20161124.024520accepted/tizen/3.0/mobile/20161124.024447accepted/tizen/3.0/ivi/20161124.024557accepted/tizen/3.0/common/20161123.070902Myungki Lee6-33/+32
2016-11-21Adds the explanation about the paramMyungki Lee1-0/+2
- For notification_set_text_input() Change-Id: I871cd12259f1e87328d2bf2fe6903fed4700a2f1 Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
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.son10-206/+300
- 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-07Merge branch 'tizen' into tizen_3.0Myungki Lee3-58/+104
Change-Id: I3a643ee1131d1746fb0b4db8d027659e2ba3d1d8
2016-11-07Fix test-appMyungki Lee1-5/+5
Change-Id: Id08e4f9bf6b375e7b80f1d8bdf95afbbcebe325e Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
2016-11-01Updates the guide codes in set_text_input()Myungki Lee1-7/+104
- 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>
2016-11-01Delete notification_setting_set_package_name API()seungha.son2-51/+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.son3-2/+56
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 Lee4-16/+29
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.son8-13/+452
- 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-23Fix wrong header descriptionseungha.son1-4/+4
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: Idd28e5f79d05d236aae9e7fd61616bc9748161ea
2016-09-22Move notification_get_text_input_max_length to internalMyungki Lee3-14/+14
- 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-21Fix wrong typo in header descriptionseungha.son2-31/+31
Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I9e92d2bbfbf584e0b9ab42655e7b824f355bd559
2016-09-20Add new api for direct replyMyungki Lee7-13/+198
Change-Id: I0944647478f8ef7ee0f1cb60da038054b6531037 Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>