From: manu.tiwari Date: Thu, 29 Apr 2021 08:38:09 +0000 (+0530) Subject: [ITC][notification][Non-ACR][Use service_app_main()] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee3d69ff7d01c72a1de88858e167d437f712d35e;p=test%2Ftct%2Fnative%2Fapi.git [ITC][notification][Non-ACR][Use service_app_main()] Change-Id: I79ece0c130ba223fa1a7f565780c97509b95b7df Signed-off-by: manu.tiwari --- diff --git a/packaging/itc/native-notification-itc.xml b/packaging/itc/native-notification-itc.xml index 78d1a0227..9d44dd99a 100755 --- a/packaging/itc/native-notification-itc.xml +++ b/packaging/itc/native-notification-itc.xml @@ -3,14 +3,14 @@ test Native API test Application - + - + http://tizen.org/privilege/notification http://tizen.org/privilege/appmanager.launch diff --git a/src/itc/notification/tct-notification-native.c b/src/itc/notification/tct-notification-native.c index f72a9c501..3d5695a84 100755 --- a/src/itc/notification/tct-notification-native.c +++ b/src/itc/notification/tct-notification-native.c @@ -42,7 +42,7 @@ #include #include -#include +#include #include #include @@ -114,7 +114,7 @@ int main(int argc, char *argv[]) { int ret = 0; - ui_app_lifecycle_callback_s event_callback = {0,}; + service_app_lifecycle_callback_s event_callback = {0,}; event_callback.create = app_create; event_callback.terminate = app_terminate; event_callback.app_control = app_control; @@ -124,7 +124,7 @@ int main(int argc, char *argv[]) dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Coverage *.gcda File location set to /tmp/home/abuild/rpmbuild/BUILD/ ", __FUNCTION__, __LINE__); dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Application Main Function is Invoked", __FUNCTION__, __LINE__); - ret = ui_app_main(argc, argv, &event_callback, NULL); + ret = service_app_main(argc, argv, &event_callback, NULL); if (ret != APP_ERROR_NONE) { dlog_print(DLOG_ERROR, "NativeTCT", "Application ui_app_main call gets failed. err = %d", ret);