-}
-
-/**
- * This function let the app create a tickernoti syspopup
- * @return void
- * @param[in] msg the pointer to message of tickernoti
- */
-void wfd_tickernoti_popup(char *msg)
-{
- __WDPOP_LOG_FUNC_ENTER__;
-
- int ret = -1;
- bundle *b = NULL;
-
- b = bundle_create();
- if (!b) {
- WDPOP_LOGD( "FAIL: bundle_create()\n");
- return;
- }
-
- /* tickernoti style */
- ret = bundle_add(b, "0", "info");
- if (ret) {
- WDPOP_LOGD( "Fail to add tickernoti style\n");
- bundle_free(b);
- return;
- }
-
- /* popup text */
- ret = bundle_add(b, "1", msg);
- if (ret) {
- WDPOP_LOGD( "Fail to add popup text\n");
- bundle_free(b);
- return;
- }
-
- /* orientation of tickernoti */
- ret = bundle_add(b, "2", "0");
- if (ret) {
- WDPOP_LOGD( "Fail to add orientation of tickernoti\n");
- bundle_free(b);
- return;
- }
-
- /* timeout(second) of tickernoti */
- ret = bundle_add(b, "3", "3");
- if (ret) {
- WDPOP_LOGD( "Fail to add timeout of tickernoti\n");
- bundle_free(b);
- return;
- }
-
- /* launch tickernoti */
- ret = syspopup_launch(TICKERNOTI_SYSPOPUP, b);
- if (ret) {
- WDPOP_LOGD( "Fail to launch syspopup\n");
- }
-
- bundle_free(b);
- __WDPOP_LOG_FUNC_EXIT__;
-}
-