equal
deleted
inserted
replaced
406 iContainer->SetMskL(); |
406 iContainer->SetMskL(); |
407 iViewReady = ETrue; |
407 iViewReady = ETrue; |
408 Toolbar()->SetDimmed( EFalse ); |
408 Toolbar()->SetDimmed( EFalse ); |
409 RefreshToolbar(); |
409 RefreshToolbar(); |
410 } |
410 } |
|
411 |
|
412 // if there is a embedded app in FSEmail. |
|
413 if( iAppUi.EmbeddedApp() ) |
|
414 { |
|
415 // Set email editor started from embedded app flag to true |
|
416 // so that we can switch view correct when sent email. |
|
417 iAppUi.SetEditorStartedFromEmbeddedApp( ETrue ); |
|
418 |
|
419 RWsSession rwsSession; |
|
420 User::LeaveIfError( rwsSession.Connect() ); |
|
421 CleanupClosePushL( rwsSession ); |
|
422 |
|
423 // Simulate a back key to exit embedded app |
|
424 // so that email editor could show on the top level. |
|
425 TKeyEvent KeyEvent = TKeyEvent(); |
|
426 KeyEvent.iCode = EKeyCBA2; |
|
427 rwsSession.SimulateKeyEvent( KeyEvent ); |
|
428 |
|
429 rwsSession.Close(); |
|
430 CleanupStack::PopAndDestroy( &rwsSession ); |
|
431 } |
|
432 |
411 TIMESTAMP( "Editor launched" ); |
433 TIMESTAMP( "Editor launched" ); |
412 } |
434 } |
413 |
435 |
414 |
436 |
415 // ----------------------------------------------------------------------------- |
437 // ----------------------------------------------------------------------------- |