equal
deleted
inserted
replaced
348 |
348 |
349 iCurrentState = newState; |
349 iCurrentState = newState; |
350 if(DataMgr()->IsUpdate()) |
350 if(DataMgr()->IsUpdate()) |
351 { |
351 { |
352 DataMgr()->SetUpdate(EFalse); |
352 DataMgr()->SetUpdate(EFalse); |
353 CGenericItutUiLayout* itutLayout = |
353 |
354 static_cast<CGenericItutUiLayout*>( LayoutContext()->UiLayout() ); |
354 // Get the screen rect |
355 itutLayout->SizeChanged( NULL ); |
355 TRect screenRect = DataMgr()->screenSize(); |
|
356 // If the screen is in portrait mode |
|
357 if ( screenRect.Width() < screenRect.Height()) |
|
358 { |
|
359 CGenericItutUiLayout* itutLayout = |
|
360 static_cast<CGenericItutUiLayout*>( LayoutContext()->UiLayout()); |
|
361 itutLayout->SizeChanged( NULL ); |
|
362 } |
356 } |
363 } |
357 |
364 |
358 iCurrentState->OnEntryL(); |
365 iCurrentState->OnEntryL(); |
359 } |
366 } |
360 |
367 |