Accept incoming msg with appsvc
authorJungmin Kim <jm15.kim@samsung.com>
Fri, 31 Aug 2012 07:11:11 +0000 (16:11 +0900)
committerJungmin Kim <jm15.kim@samsung.com>
Fri, 31 Aug 2012 07:11:11 +0000 (16:11 +0900)
ui/src/vcui-application.c

index 7c185a0..52fdf76 100755 (executable)
@@ -371,7 +371,9 @@ static int __vcui_app_reset(bundle *kb, void *data)
        uri_bundle = (const char *)appsvc_get_uri(kb);
        if (uri_bundle != NULL) {
                CALL_UI_DEBUG("tmp: [%s]", uri_bundle);
-               if (strncmp(uri_bundle, "tel:", 4) == 0) {
+               if ((strncmp(uri_bundle, "tel:MT", 6) == 0)) {
+                       CALL_UI_DEBUG("It is incoming call type");
+               } else if (strncmp(uri_bundle, "tel:", 4) == 0) {
                        telnum = (char *)uri_bundle + 4;
                        CALL_UI_DEBUG("number: [%s]", telnum);