homescreensrv_plat/sapi_actionhandler/actionhandlerplugins/src/ahpapplauncher.cpp
equal
deleted
inserted
replaced
21 #include <apgtask.h> |
21 #include <apgtask.h> |
22 #include <vwsdef.h> |
22 #include <vwsdef.h> |
23 #include <eikenv.h> |
23 #include <eikenv.h> |
24 #include <eikappui.h> |
24 #include <eikappui.h> |
25 #include <liwvariant.h> |
25 #include <liwvariant.h> |
|
26 #include <gfxtranseffect/gfxtranseffect.h> |
|
27 #include <akntranseffect.h> |
26 |
28 |
27 #include "ahproperties.hrh" |
29 #include "ahproperties.hrh" |
28 #include "ahpapplauncher.h" |
30 #include "ahpapplauncher.h" |
29 |
31 |
30 // ======== MEMBER FUNCTIONS ======== |
32 // ======== MEMBER FUNCTIONS ======== |
108 { |
110 { |
109 TApaTaskList taskList( iEnv->WsSession() ); |
111 TApaTaskList taskList( iEnv->WsSession() ); |
110 TApaTask task = taskList.FindApp( appUid ); |
112 TApaTask task = taskList.FindApp( appUid ); |
111 if ( task.Exists( ) ) |
113 if ( task.Exists( ) ) |
112 { |
114 { |
|
115 GfxTransEffect::BeginFullScreen( |
|
116 AknTransEffect::EApplicationStart, |
|
117 TRect(), |
|
118 AknTransEffect::EParameterType, |
|
119 AknTransEffect::GfxTransParam( appUid, |
|
120 AknTransEffect::TParameter::EActivateExplicitContinue )); |
|
121 |
113 errCode = KErrNone; |
122 errCode = KErrNone; |
114 task.BringToForeground(); |
123 task.BringToForeground(); |
115 } |
124 } |
116 else |
125 else |
117 { |
126 { |