Binary file locationmgmt/locationcore/conf/locationsettings.confml has changed
Binary file locationmgmt/locationcore/lbslocsettings/data/101f500c.txt has changed
--- a/locationmgmt/locmonitor/lbslocmonitorserver/src/clbslocmonitorrequesthandler.cpp Wed Apr 14 17:26:05 2010 +0300
+++ b/locationmgmt/locmonitor/lbslocmonitorserver/src/clbslocmonitorrequesthandler.cpp Tue May 11 17:31:17 2010 +0300
@@ -52,9 +52,7 @@
// Allocate space for 1 pointer to area info source object (Global Cell Id)
iCurrentAreaInfo.ReserveL(ELastAreaInfoType);
TLbsLocMonitorAreaInfoGci* locMonitorAreaInfoGci = new(ELeave) TLbsLocMonitorAreaInfoGci;
- CleanupStack::PushL(locMonitorAreaInfoGci);
iCurrentAreaInfo.Insert(static_cast<TLbsLocMonitorAreaInfoBase*>(locMonitorAreaInfoGci), EGlobalCellIdType);
- CleanupStack::Pop(locMonitorAreaInfoGci);
iDb.OpenL();
}
--- a/locationrequestmgmt/networkrequesthandler/LBSPrivacyNotification/LbsQueryAndNotification/QueryAndNotificationAPI/group/Bld.inf Wed Apr 14 17:26:05 2010 +0300
+++ b/locationrequestmgmt/networkrequesthandler/LBSPrivacyNotification/LbsQueryAndNotification/QueryAndNotificationAPI/group/Bld.inf Tue May 11 17:31:17 2010 +0300
@@ -20,7 +20,7 @@
// File needs to be exported to allow UI layer to access it. Otherwise code duplication/differentiation will occur.
-..\inc\EPos_TPosQNInputData.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(lbs/EPos_TPosQNInputData.h)
+../inc/EPos_TPosQNInputData.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(lbs/epos_tposqninputdata.h)
// End of file
--- a/locationrequestmgmt/networkrequesthandler/src/EPos_CPosDialogCtrl.cpp Wed Apr 14 17:26:05 2010 +0300
+++ b/locationrequestmgmt/networkrequesthandler/src/EPos_CPosDialogCtrl.cpp Tue May 11 17:31:17 2010 +0300
@@ -78,8 +78,6 @@
for (TInt i = 0; i < count; i++)
{
DoCompleteRequest(0, KErrServerTerminated);
- // Delete the pointer items
- delete iRequestQueue[i].iRequestInfo;
}
iNotifier.Close();
@@ -279,8 +277,16 @@
TInt aIndex,
TInt aCompletionCode)
{
- TRequestStatus* status = iRequestQueue[aIndex].iStatus;
- User::RequestComplete(status, aCompletionCode);
+ TRequest request = iRequestQueue[aIndex];
+ if (request.iType == TPosQNInputData::ENotification)
+ {
+ delete request.iRequestInfo;
+ }
+ else
+ {
+ TRequestStatus* status = request.iStatus;
+ User::RequestComplete(status, aCompletionCode);
+ }
iRequestQueue.Remove(aIndex);
iRequestQueue.Compress();
}
@@ -365,22 +371,10 @@
delete reqStackBuf;
reqStackBuf = NULL;
- if (data.iType == TPosQNInputData::ENotification) // We dont expect a resonse from a notfication
- {
- iNotifier.StartNotifier(KNotifierUid, nullPtr, nullPtr);
-
- // As we wont be getting a response remove from the notification list
- delete iRequestQueue[0].iRequestInfo;
- iRequestQueue.Remove(0);
- iRequestQueue.Compress();
- }
- else
- {
- iNotifier.StartNotifierAndGetResponse(
- iStatus, KNotifierUid, nullPtr, nullPtr);
- SetActive();
- }
-
+ iNotifier.StartNotifierAndGetResponse(
+ iStatus, KNotifierUid, nullPtr, nullPtr);
+ SetActive();
+
err = iNotifier.UpdateNotifier(KNotifierUid, *buffer, nullPtr);
if (err != KErrNone)
{
--- a/locationrequestmgmt/networkrequesthandler/src/EPos_CPosPrivManager.cpp Wed Apr 14 17:26:05 2010 +0300
+++ b/locationrequestmgmt/networkrequesthandler/src/EPos_CPosPrivManager.cpp Tue May 11 17:31:17 2010 +0300
@@ -287,7 +287,6 @@
{
iRequestData.iNotificationReason = EPosDecisionByRequestSource;
iDlgCtrl->NotifyL(*iRequestInfo, iRequestData);
- delete iRequestInfo;
iRequestInfo = NULL;
iRequestInfo = new (ELeave) TLbsExternalRequestInfo2;
}
@@ -396,7 +395,6 @@
iRequestData.iCancelReason = EPosCancelReasonNotAvailable;
iDlgCtrl->NotifyL(*iRequestInfo, iRequestData);
- delete iRequestInfo;
iRequestInfo = NULL;
iRequestInfo = new (ELeave) TLbsExternalRequestInfo2;
}