textinput/peninputsplititut/src/peninputsplititutwesternuimgr.cpp
branchRCL_3
changeset 56 8152b1f1763a
parent 50 5a1685599b76
--- a/textinput/peninputsplititut/src/peninputsplititutwesternuimgr.cpp	Wed Sep 15 12:34:44 2010 +0300
+++ b/textinput/peninputsplititut/src/peninputsplititutwesternuimgr.cpp	Wed Oct 13 14:55:58 2010 +0300
@@ -133,30 +133,14 @@
         }
 
     iCurrentState = newstate;    
-    if ( DataMgr()->IsUpdate() )  
-        {
-        DataMgr()->SetUpdate( EFalse );
-        
-		CSplitItutUiLayout* itutLayout = 
-			static_cast<CSplitItutUiLayout*>( LayoutContext()->UiLayout());
-    	// Get the screen rect
-    	TRect screenRect = DataMgr()->screenSize();
-    	// If the screen is in portrait mode
-    	if ( screenRect.Width() < screenRect.Height())
-    		{
-			itutLayout->SizeChanged( NULL );
-    		}
-
-        iCurrentState->OnEntryL();
-        
-        //redraw layout immediately to minimize flicker
-        itutLayout->DisableLayoutDrawing( EFalse );
-        itutLayout->Draw();
-        }
-    else
-        {
-        iCurrentState->OnEntryL();
-        }
+    if(DataMgr()->IsUpdate())  
+    	{
+    	DataMgr()->SetUpdate(EFalse);
+    	CSplitItutUiLayout* itutLayout = 
+			static_cast<CSplitItutUiLayout*>( LayoutContext()->UiLayout() );
+		itutLayout->SizeChanged( NULL );
+    	}
+    iCurrentState->OnEntryL();
     }
 
 // ---------------------------------------------------------------------------