Fixed wrong mailto scheme action
authorJihoon Chung <jihoon.chung@samsung.com>
Mon, 11 Mar 2013 23:42:02 +0000 (08:42 +0900)
committerGerrit Code Review <gerrit2@kim11>
Tue, 12 Mar 2013 00:24:03 +0000 (09:24 +0900)
[Issue#] TDIS-3476
[Problem] Unable to launch email application when invoking the
mailto scheme
[Cause] Missed set uri field for app-control
After tizen app-control checks scheme in the uri, automatically
launch message application or email application
[Solution] Add routine for set uri to app-control data
[SCMRequest] N/A

Change-Id: I449d4a36427e3500714e6bb45a97c14b57bb9416

src/view/common/scheme_action_map.cpp

index d7d62f3..175f3ef 100644 (file)
@@ -149,7 +149,7 @@ AppSvcOperationMap initializeAppSvcOperations()
     // MMSTO & MAILTO
     AppSvcOperation sendOp;
     sendOp.operation = APPSVC_OPERATION_SEND;
-    sendOp.needUri = false;
+    sendOp.needUri = true;
     sendOp.conversions.push_back(AppSvcConversion(APPSVC_DATA_TO, REGEX_MMSTO));
     sendOp.conversions.push_back(AppSvcConversion(APPSVC_DATA_TO, REGEX_MAILTO));
     sendOp.conversions.push_back(AppSvcConversion(APPSVC_DATA_CC, REGEX_CC));