contextframework/cfw/tsrc/public/basic/mt_cfsisupgrade/MT_CFSisUpgrade.cpp
branchRCL_3
changeset 63 c2c61fdca848
parent 62 924385140d98
--- a/contextframework/cfw/tsrc/public/basic/mt_cfsisupgrade/MT_CFSisUpgrade.cpp	Tue Aug 31 15:24:25 2010 +0300
+++ b/contextframework/cfw/tsrc/public/basic/mt_cfsisupgrade/MT_CFSisUpgrade.cpp	Wed Sep 01 12:24:48 2010 +0100
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). 
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -42,6 +42,7 @@
 #include "actiondef_v1.h"
 #include "actiondef_v2.h"
 #include "operation_v1.hrh"
+#include "cfenvutils.h"
 
 // CONSTANTS
 const TInt KSecond = 1000000;
@@ -68,6 +69,8 @@
 // Destructor (virtual by CBase)
 MT_CFSisUpgrade::~MT_CFSisUpgrade()
     {
+    // Disable screen saver
+    CFEnvUtils::EnableScreenSaver( ETrue );
     }
 
 // Default constructor
@@ -81,6 +84,9 @@
     // The ConstructL from the base class CEUnitTestSuiteClass must be called.
     // It generates the test case table.
     CEUnitTestSuiteClass::ConstructL();
+
+    // Disable screen saver
+    CFEnvUtils::EnableScreenSaver( EFalse );
     }
 
 //  METHODS