bluetoothengine/bteng/bttoggle/src/bttoggle.cpp
branchRCL_3
changeset 54 0ba996a9b75d
parent 13 b6f55cd40afd
child 55 613943a21004
--- a/bluetoothengine/bteng/bttoggle/src/bttoggle.cpp	Thu Jul 15 18:50:18 2010 +0300
+++ b/bluetoothengine/bteng/bttoggle/src/bttoggle.cpp	Thu Aug 19 10:05:41 2010 +0300
@@ -303,9 +303,9 @@
     iNotifier.CancelNotifier(KBTGenericQueryNotifierUid); 
     }  
   else if ( EPowerModeChangeNote == iActiveNotifier ) 
-      {
-      iNotifier.CancelNotifier(KBTGenericQueryNotifierUid); 
-      }
+    {
+    iNotifier.CancelNotifier(KBTGenericInfoNotifierUid); 
+    }
 
   // For all cancels, we must reset iActiveNotifier back to ENoneQuery
   // to permit another request to be made.
@@ -330,8 +330,8 @@
   switch (iActiveNotifier)
     {							
     case EPowerModeQuery:
-      iActiveNotifier = ENoneQuery;
-      ShowNotification(ETrue);    
+      ShowNotification(ETrue);   
+      iActiveNotifier = EPowerModeChangeNote ;
       SetActive();
       break; 			
     case ECloseConnectionQuery: