equal
deleted
inserted
replaced
1359 { |
1359 { |
1360 if( iCurrentActiveView ) |
1360 if( iCurrentActiveView ) |
1361 { |
1361 { |
1362 iCurrentActiveView->HandleAppForegroundEventL( EFalse ); |
1362 iCurrentActiveView->HandleAppForegroundEventL( EFalse ); |
1363 } |
1363 } |
|
1364 // in case the popupmenu is shown propagate event to it |
|
1365 if( iFolderListVisualiser && iFolderListVisualiser->IsPopupShown() ) |
|
1366 { |
|
1367 iFolderListVisualiser->HandleAppForegroundEventL( EFalse ); |
|
1368 } |
|
1369 } |
1364 break; |
1370 break; |
1365 } |
|
1366 case KAknFullOrPartialForegroundGained: |
1371 case KAknFullOrPartialForegroundGained: |
1367 { |
1372 { |
1368 if ( iCurrentActiveView && !iSettingsViewActive ) |
1373 if ( iCurrentActiveView && !iSettingsViewActive ) |
1369 { |
1374 { |
1370 iCurrentActiveView->HandleAppForegroundEventL( ETrue ); |
1375 iCurrentActiveView->HandleAppForegroundEventL( ETrue ); |
1372 { |
1377 { |
1373 iCurrentActiveView->HandleDynamicVariantSwitchL( CFsEmailUiViewBase::EScreenLayoutChanged ); |
1378 iCurrentActiveView->HandleDynamicVariantSwitchL( CFsEmailUiViewBase::EScreenLayoutChanged ); |
1374 iPendingLayoutSwitch = EFalse; |
1379 iPendingLayoutSwitch = EFalse; |
1375 } |
1380 } |
1376 } |
1381 } |
1377 |
1382 // Call status indicator's foreground event to resize the connection screen after the screensaver |
1378 // Call status indicator's foreground event to resize the connection screen after the screensaver |
1383 if ( iStatusIndicator ) |
1379 if ( iStatusIndicator ) |
|
1380 { |
1384 { |
1381 iStatusIndicator->HandleForegroundEventL(); |
1385 iStatusIndicator->HandleForegroundEventL(); |
1382 } |
1386 } |
1383 } |
1387 // in case the popupmenu is shown propagate event to it |
1384 break; |
1388 if( iFolderListVisualiser && iFolderListVisualiser->IsPopupShown() ) |
|
1389 { |
|
1390 iFolderListVisualiser->HandleAppForegroundEventL( ETrue ); |
|
1391 } |
|
1392 } |
|
1393 break; |
1385 default: |
1394 default: |
1386 break; |
1395 break; |
1387 } |
1396 } |
1388 |
1397 |
1389 // Close menu |
1398 // Close menu |
1390 if ( closeMenu && iCurrentActiveView != NULL ) |
1399 if ( closeMenu && iCurrentActiveView != NULL ) |
1391 { |
1400 { |
1392 CEikMenuBar* menu = iCurrentActiveView->MenuBar(); |
1401 CEikMenuBar* menu = iCurrentActiveView->MenuBar(); |