connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/ActiveSelectWLanDlgPlugin.cpp
--- a/connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/ActiveSelectWLanDlgPlugin.cpp Fri Sep 17 08:32:43 2010 +0300
+++ b/connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/ActiveSelectWLanDlgPlugin.cpp Mon Oct 04 00:43:42 2010 +0300
@@ -19,12 +19,11 @@
// INCLUDE FILES
#include <AknWaitDialog.h>
#include <connuiutilsnotif.rsg>
-#include <AknGlobalNote.h>
+#include <hbdevicenotificationdialogsymbian.h>
#include <StringLoader.h>
#include <centralrepository.h>
#include <AknSgcc.h>
#include <AknCapServerClient.h>
-//#include <aknnotewrappers.h>
#include "ActiveSelectWLanDlgPlugin.h"
#include "SelectWLANDlg.h"
@@ -34,6 +33,9 @@
// CONSTANTS
+// Empty string
+_LIT( KEmpty, "" );
+
/**
* For iPeriodic Timer, 10 seconds
* The interval between refreshing available wlan networks.
@@ -291,7 +293,12 @@
CleanupStack::PopAndDestroy( stringLabel );
***/
-//// 3.1 solution: prevent deadlock, does not work in 3.0 because of avkon
+//// 10.1 solution: ditch avkon altogether
+ CHbDeviceNotificationDialogSymbian::NotificationL(
+ KEmpty, stringLabel->Des(), KEmpty);
+ CleanupStack::PopAndDestroy( stringLabel );
+
+/*** 3.1 solution: prevent deadlock, does not work in 3.0 because of avkon
RAknUiServer* globalNote = CAknSgcClient::AknSrv();
if ( globalNote->Handle() )
{
@@ -300,7 +307,7 @@
}
CleanupStack::PopAndDestroy( stringLabel );
-//// End of 3.1 solution
+*** End of 3.1 solution ***/
/*** 3.0 solution
CAknInformationNote* myLocalGlobalNote = new ( ELeave )