resolve TSAM-6666: missing code for failed notification added 27/82127/2
authorKyeonghun Lee <kh9090.lee@samsung.com>
Mon, 1 Aug 2016 02:11:53 +0000 (11:11 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Wed, 3 Aug 2016 04:36:37 +0000 (13:36 +0900)
Change-Id: Ica5a81b0b061f3439465ba4bce6f7146cb4fa61e
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
externals/MsgNotificationWrapper.cpp
framework/main.cpp
include/externals/MsgNotificationWrapper.h
manager/src/msg-manager.cpp

index c3b59ac35a1ee7ab38315d1247d334c3bbde9ccf..e3eff0ba74138c2505500676c57295f1ec83366c 100755 (executable)
@@ -448,3 +448,9 @@ msg_error_t MsgInsertTicker(const char* pTickerMsg, const char* pLocaleTickerMsg
 #endif /* MSG_WEARABLE_PROFILE */
        return err;
 }
+
+
+void MsgInitMsgMgr()
+{
+       msg_launch_app(MSG_MGR_APP_ID, NULL);
+}
index f0251114ed5fb4f6297c4070e60a65f8b3d5e82a..c0550b469da096847d3e262c6f8bdb9aef4db147 100755 (executable)
@@ -63,6 +63,7 @@ void* InitMsgServer(void*)
                }
 
                MsgInitSensor();
+               MsgInitMsgMgr();
 
                /* plugin manager initialize */
                MsgPluginManager::instance()->initialize();
index cfc27a3b1d70cba57ef0719e63b77535e86b613b..7a59dd9eab94fc6190feef954a0c4f1317552eb3 100755 (executable)
@@ -113,4 +113,6 @@ void MsgSoundPlayStart(const MSG_ADDRESS_INFO_S *pAddrInfo, MSG_SOUND_TYPE_T sou
 
 void MsgRefreshAllNotification(bool bWithSimNoti, bool bFeedback, msg_active_notification_type_t active_type);
 
+void MsgInitMsgMgr();
+
 #endif
index b358d5e7e367c82082532f4fb8dafdb984e6d8a2..63aaab75bb8caa895ec7d395aa85fc9dca092e45 100644 (file)
@@ -256,6 +256,8 @@ void _refresh_noti_func(app_control_h app_control)
                MSG_MGR_DEBUG("type [%s]", type);
                if (g_strcmp0(type, "normal") == 0)
                        noti_type = MSG_MGR_NOTI_TYPE_NORMAL;
+               else if (g_strcmp0(type, "failed") == 0)
+                       noti_type = MSG_MGR_NOTI_TYPE_FAILED;
 
                g_free(type);
        } else {