securitydialogs/Autolock/src/AutolockGripStatusObserver.cpp
branchRCL_3
changeset 20 63339781d179
parent 17 2ca12c9f635b
--- a/securitydialogs/Autolock/src/AutolockGripStatusObserver.cpp	Thu Jul 15 19:36:50 2010 +0300
+++ b/securitydialogs/Autolock/src/AutolockGripStatusObserver.cpp	Thu Aug 19 10:45:23 2010 +0300
@@ -99,6 +99,7 @@
         #if defined(_DEBUG)
     	RDebug::Print(_L("(AUTOLOCK)CAutolockGripStatusObserver::::GripStatusChangedL => Grip opened"));
     	#endif 
+   		iObserver->ForceOrientation(0);
     	if( !iObserver->DeviceLockQueryStatus() && iObserver->DeviceLockStatus() )
     		{
             #if defined(_DEBUG)
@@ -139,6 +140,8 @@
         #if defined(_DEBUG)
     	RDebug::Print(_L("(AUTOLOCK)CAutolockGripStatusObserver::::GripStatusChangedL => Grip closed"));
     	#endif 
+   		iObserver->ForceOrientation(1);
+
         //Grip closed
         if( iObserver->DeviceLockQueryStatus() )
         	{