--- a/contextframework/cfwplugins/sensorsourceplugin/src/sensorchannelbase.cpp Tue Apr 27 16:49:15 2010 +0300
+++ b/contextframework/cfwplugins/sensorsourceplugin/src/sensorchannelbase.cpp Tue May 11 16:22:38 2010 +0300
@@ -13,6 +13,7 @@
*
* Description: CSensorChannelBase class implementation.
*
+*
*/
@@ -235,9 +236,8 @@
TInt aDataLost )
{
FUNC_LOG;
-
- TRAP_IGNORE( HandleDataReceivedL( aChannel, aCount, aDataLost ) );
-
+
+
// If we are fetching initial value, make sure that the channel is closed
// properly if there are no active connections
if( !SensorActive() && iState == EChannelStateInitializing )
@@ -247,6 +247,7 @@
}
else
{
+ TRAP_IGNORE( HandleDataReceivedL( aChannel, aCount, aDataLost ) );
// Active connections received, change state
ChangeState( EChannelStateActive );
}
@@ -631,3 +632,4 @@
}
// End of file
+