photosgallery/viewframework/tvout/src/glxtv.cpp
branchRCL_3
changeset 32 78ad99c24f08
parent 25 191387a8b767
--- a/photosgallery/viewframework/tvout/src/glxtv.cpp	Tue May 11 16:13:40 2010 +0300
+++ b/photosgallery/viewframework/tvout/src/glxtv.cpp	Tue May 25 12:42:31 2010 +0300
@@ -356,25 +356,24 @@
 // Called when TV connection state changes
 //-----------------------------------------------------------------------------
 //
-void CGlxTv::HandleTvConnectionStatusChangedL( )
+void CGlxTv::HandleTvConnectionStatusChangedL(TTvChangeType aChangeType)
     {
-    TRACER("CGlxTv::HandleTvConnectionStatusChangedL()");
+	TRACER("CGlxTv::HandleTvConnectionStatusChangedL()");
 
-    if ( iTvConnectionMonitor->IsConnected() )
-        {
-        // Start monitoring the environment for changes
-        MonitorEnvironmentL();
-        // Calculate the TV Out screen buffer
-        CalcTvScreenSzL();
-        }
-    else
-        {
-        StopMonitoringEnvironment();
-        }
-    iTvObserver.HandleTvStatusChangedL( ETvConnectionChanged );
-    }
-    
-        
+	if (iTvConnectionMonitor->IsConnected())
+		{
+		// Start monitoring the environment for changes
+		MonitorEnvironmentL();
+		// Calculate the TV Out screen buffer
+		CalcTvScreenSzL();
+		}
+	else
+		{
+		StopMonitoringEnvironment();
+		}
+	
+	iTvObserver.HandleTvStatusChangedL(aChangeType);
+	}
    
 //-----------------------------------------------------------------------------
 // Retrieve the TV display aspect ratio