fix core contact app-control
authorJaehwa Shin <jaehwa.shin@samsung.com>
Mon, 22 Apr 2013 07:46:23 +0000 (16:46 +0900)
committerJaehwa Shin <jaehwa.shin@samsung.com>
Mon, 22 Apr 2013 07:46:23 +0000 (16:46 +0900)
Change-Id: I11d313a3743c869f0becc5690cd9361341972dc9
Signed-off-by: Jaehwa Shin <jaehwa.shin@samsung.com>
src/contact-app-control/ContactAppControlDllEntry.cpp

index 6ab0dd4..0f30fce 100644 (file)
@@ -449,7 +449,6 @@ StartAppControl(int req, const String& aId, const String& oId, const String* pUr
        }
        else if (isContactView || isLegacyContactView)
        {
-               providerAppId = L"tizen.contact_detail";
 
                if (pUri == null)
                {
@@ -463,10 +462,12 @@ StartAppControl(int req, const String& aId, const String& oId, const String* pUr
 
                if (pActualUri)
                {
+                       providerAppId = L"tizen.contact_viewer";
                        operation = L"http://tizen.org/appcontrol/operation/view";
                }
                else
                {
+                       providerAppId = L"tizen.contact_detail";
                        operation = L"http://tizen.org/appcontrol/operation/social/view";
                        msg.AddData(CONTACT_ITEM_TYPE, L"person");