equal
deleted
inserted
replaced
37 void TelephonyService::start(const int serviceId) |
37 void TelephonyService::start(const int serviceId) |
38 { |
38 { |
39 PHONE_DEBUG2("TelephonyService::start:", serviceId); |
39 PHONE_DEBUG2("TelephonyService::start:", serviceId); |
40 switch (serviceId) { |
40 switch (serviceId) { |
41 case 0: { |
41 case 0: { |
42 TPhoneCmdParamInteger uidParam; |
42 m_viewAdapter->ExecuteCommandL(EPhoneViewBringPhoneAppToForeground); |
43 uidParam.SetInteger( KUidPhoneApplication.iUid ); |
|
44 m_viewAdapter->ExecuteCommandL(EPhoneViewBringAppToForeground, &uidParam); |
|
45 break; |
43 break; |
46 } |
44 } |
47 case 1: { |
45 case 1: { |
48 m_viewAdapter->ExecuteCommandL( EPhoneViewOpenDialer ); |
46 m_viewAdapter->ExecuteCommandL( EPhoneViewOpenDialer ); |
49 |
47 m_viewAdapter->ExecuteCommandL(EPhoneViewBringPhoneAppToForeground); |
50 TPhoneCmdParamInteger uidParam; |
|
51 uidParam.SetInteger( KUidPhoneApplication.iUid ); |
|
52 m_viewAdapter->ExecuteCommandL(EPhoneViewBringAppToForeground, &uidParam); |
|
53 break; |
48 break; |
54 } |
49 } |
55 default: { |
50 default: { |
56 // do nothing |
51 // do nothing |
57 break; |
52 break; |