phoneapp/phoneuiqtviewadapter/src/telephonyservice.cpp
changeset 77 2be0b271d017
parent 46 bc5a64e5bc3c
--- a/phoneapp/phoneuiqtviewadapter/src/telephonyservice.cpp	Fri Sep 17 08:29:19 2010 +0300
+++ b/phoneapp/phoneuiqtviewadapter/src/telephonyservice.cpp	Mon Oct 04 00:16:48 2010 +0300
@@ -39,17 +39,12 @@
     PHONE_DEBUG2("TelephonyService::start:", serviceId);
     switch (serviceId) {
         case 0: {
-            TPhoneCmdParamInteger uidParam;
-            uidParam.SetInteger( KUidPhoneApplication.iUid );
-            m_viewAdapter->ExecuteCommandL(EPhoneViewBringAppToForeground, &uidParam);
+            m_viewAdapter->ExecuteCommandL(EPhoneViewBringPhoneAppToForeground);
             break;
         }
         case 1: {
             m_viewAdapter->ExecuteCommandL( EPhoneViewOpenDialer );
-
-            TPhoneCmdParamInteger uidParam;
-            uidParam.SetInteger( KUidPhoneApplication.iUid );
-            m_viewAdapter->ExecuteCommandL(EPhoneViewBringAppToForeground, &uidParam);
+            m_viewAdapter->ExecuteCommandL(EPhoneViewBringPhoneAppToForeground);
             break;
         }
         default: {