bearermanagement/mpm/src/mpmdatausagewatcher.cpp
changeset 71 9f263f780e41
parent 44 a0c4ceac30d0
child 72 0c32cf868819
--- a/bearermanagement/mpm/src/mpmdatausagewatcher.cpp	Wed Oct 27 17:43:56 2010 +0300
+++ b/bearermanagement/mpm/src/mpmdatausagewatcher.cpp	Wed Oct 27 17:51:11 2010 +0300
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). 
+ * Copyright (c) 2008-2010 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"
@@ -135,6 +135,23 @@
 
 // ---------------------------------------------------------------------------
 // From class CActive.
+// Handles any leave from RunL.
+// ---------------------------------------------------------------------------
+//
+TInt CMpmDataUsageWatcher::RunError( TInt aError )
+    {
+    MPMLOGSTRING2( "CMpmDataUsageWatcher::RunError, ERROR: %d", aError );
+    aError = aError;
+    iErrorCounter++;
+    if ( !IsActive() )
+        {
+        RequestNotifications();
+        }
+    return KErrNone;
+    }
+
+// ---------------------------------------------------------------------------
+// From class CActive.
 // Cancel outstanding request.
 // ---------------------------------------------------------------------------
 //