--- a/phoneapp/phoneuicontrol/src/cphoneaccessorybthandler.cpp Wed Sep 15 12:12:21 2010 +0300
+++ b/phoneapp/phoneuicontrol/src/cphoneaccessorybthandler.cpp Wed Oct 13 14:31:22 2010 +0300
@@ -22,7 +22,6 @@
#include <btengdomainpskeys.h>
#include <btengdomaincrkeys.h>
#include <mpeengineinfo.h>
-#include <AknNotifyStd.h>
#include "cphoneaccessorybthandler.h"
#include "cphonecenrepproxy.h"
@@ -35,8 +34,6 @@
#include "phoneui.pan"
#include "phonerssbase.h"
#include "tphonecmdparamnote.h"
-#include "tphonecmdparamglobalnote.h"
-
// CONSTANTS
@@ -238,18 +235,18 @@
//
void CPhoneAccessoryBTHandler::ShowBTActivatedL()
{
-
- TPhoneCmdParamGlobalNote globalNoteParam;
- globalNoteParam.SetType( EAknGlobalInformationNote );
- globalNoteParam.SetTone( EAvkonSIDNoSound );
+ // Get localised text
+ HBufC* buf = StringLoader::LoadLC(
+ CPhoneMainResourceResolver::Instance()->
+ ResolveResourceID( EPhoneInfoBTAccActivated ) );
+
+ TPhoneCmdParamNote noteParam;
+ noteParam.SetType( EPhoneNoteConfirmation );
+ noteParam.SetText( *buf );
- globalNoteParam.SetTextResourceId(
- CPhoneMainResourceResolver::Instance()->
- ResolveResourceID( EPhoneInfoBTAccActivated ) );
-
// Display note
- iViewCommandHandle->ExecuteCommandL(
- EPhoneViewShowGlobalNote, &globalNoteParam );
+ iViewCommandHandle->ExecuteCommandL( EPhoneViewShowNote, ¬eParam );
+ CleanupStack::PopAndDestroy( buf );
}
// ---------------------------------------------------------