equal
deleted
inserted
replaced
16 */ |
16 */ |
17 |
17 |
18 #include <e32property.h> |
18 #include <e32property.h> |
19 #include <e32std.h> // needed because activeidle2domainpskeys.h doesn't include this |
19 #include <e32std.h> // needed because activeidle2domainpskeys.h doesn't include this |
20 #include "AknCapServerEntry.h" |
20 #include "AknCapServerEntry.h" |
|
21 #include <activeidle2domainpskeys.h> // yet another nasty dep |
21 |
22 |
22 #define KPhoneAppUid TUid::Uid(0x100058B3) |
23 #define KPhoneAppUid TUid::Uid(0x100058B3) |
23 |
24 |
24 TBool AknPhoneKeyForwarder::ForwardKeyToPhoneApp(TAny* aKeyEvent) |
25 TBool AknPhoneKeyForwarder::ForwardKeyToPhoneApp(TAny* aKeyEvent) |
25 { |
26 { |
|
27 RProperty::Set( |
|
28 KPSUidAiInformation, |
|
29 KActiveIdleState, |
|
30 EPSAiNumberEntry ); |
|
31 |
26 RWsSession& ws = CCoeEnv::Static()->WsSession(); |
32 RWsSession& ws = CCoeEnv::Static()->WsSession(); |
27 TApaTaskList list(ws); |
33 TApaTaskList list(ws); |
28 TApaTask phone = list.FindApp(KPhoneAppUid); |
34 TApaTask phone = list.FindApp(KPhoneAppUid); |
29 if (phone.Exists()) |
35 if (phone.Exists()) |
30 { |
36 { |