bluetoothengine/bteng/bttoggle/src/bttoggle.cpp
changeset 52 4545c04e61e1
parent 33 837dcc42fd6a
--- a/bluetoothengine/bteng/bttoggle/src/bttoggle.cpp	Tue Jul 06 14:27:09 2010 +0300
+++ b/bluetoothengine/bteng/bttoggle/src/bttoggle.cpp	Wed Aug 18 09:59:05 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: