equal
deleted
inserted
replaced
15 * |
15 * |
16 */ |
16 */ |
17 #include "CPhoneEngineCreator.h" |
17 #include "CPhoneEngineCreator.h" |
18 |
18 |
19 #include <TelephonyAudioRoutingManager.h> |
19 #include <TelephonyAudioRoutingManager.h> |
20 #include <cpephonemodelif.h> |
20 #include <activeidle2domainpskeys.h> |
|
21 #include <CPEPhoneModelIf.h> |
21 #include "CPEMessageWaiter.h" |
22 #include "CPEMessageWaiter.h" |
22 |
23 |
23 |
24 |
24 CPhoneEngineCreator* CPhoneEngineCreator::NewL() |
25 CPhoneEngineCreator* CPhoneEngineCreator::NewL() |
25 { |
26 { |
56 { |
57 { |
57 aMsgWaiter.WaitForMsg( |
58 aMsgWaiter.WaitForMsg( |
58 MEngineMonitor::EPEMessagePEConstructionReady, |
59 MEngineMonitor::EPEMessagePEConstructionReady, |
59 40 ); |
60 40 ); |
60 } |
61 } |
61 |
62 |
|
63 // No error checking here because this will succeed only once when this is called. The RProperty::Set will |
|
64 // fail, if this call is not successfull at all. |
|
65 RProperty::Define( |
|
66 KPSUidAiInformation, |
|
67 KActiveIdleState, |
|
68 RProperty::EInt ); |
|
69 |
|
70 User::LeaveIfError( RProperty::Set( KPSUidAiInformation, KActiveIdleState, EPSAiForeground ) ); |
|
71 |
62 return pEif; |
72 return pEif; |
63 } |
73 } |
64 |
74 |
65 CStubAudioFactory* CPhoneEngineCreator::AudioFactory() const |
75 CStubAudioFactory* CPhoneEngineCreator::AudioFactory() const |
66 { |
76 { |