sensorservices/orientationssy/src/SsyOrientation.cpp
branchRCL_3
changeset 81 24127ea5a236
parent 61 8cb079868133
--- a/sensorservices/orientationssy/src/SsyOrientation.cpp	Wed Sep 15 13:36:47 2010 +0300
+++ b/sensorservices/orientationssy/src/SsyOrientation.cpp	Wed Oct 13 15:58:37 2010 +0300
@@ -921,7 +921,7 @@
         {
         User::Leave( KErrNotFound );
         }
-
+    iCurrentOrientationState.iDeviceOrientation = TSensrvOrientationData::EOrientationUndefined;
     iSensorChannel->CloseChannel();
     iChannel = NULL;
 
@@ -962,7 +962,7 @@
         {
         User::Leave( KErrNotFound );
         }
-
+    iCurrentOrientationState.iDeviceOrientation = TSensrvOrientationData::EOrientationUndefined;
     iSensorChannel->StopDataListening();
     iChannel = NULL;