--- a/locationrequestmgmt/networkrequesthandler/src/privacyadvancednotifierhandler.cpp Tue May 25 14:13:22 2010 +0300
+++ b/locationrequestmgmt/networkrequesthandler/src/privacyadvancednotifierhandler.cpp Wed Jun 09 11:13:47 2010 +0300
@@ -148,7 +148,8 @@
// Record the highest session Id so far.
// We need this in case we need to check if a new request
// is actually a repeat of an old request.
- if (aSessionId.SessionNum() > iHighestSessionId.SessionNum())
+ if ((aSessionId.SessionNum() > iHighestSessionId.SessionNum()) &&
+ (aNetPosRequestPrivacy.RequestAdvice() == TLbsNetPosRequestPrivacyInt::ERequestAdviceVerify))
{
iHighestSessionId = aSessionId;
}
@@ -593,9 +594,10 @@
// NotifyVerificationTimeout() on the Network Privacy API.)
// We should use a different notification reason for these
// types of request.
- if (request->SessionId().SessionNum() < iHighestSessionId.SessionNum())
+ if (request->SessionId().SessionNum() <= iHighestSessionId.SessionNum())
{
data.iNotificationReason = EPosVerificationTimeout;
+ data.iRequestDecision = (aRequestPrivacy.RequestAction() == TLbsNetPosRequestPrivacyInt::ERequestActionAllow) ? EPosDecisionAccepted : EPosDecisionRejected;
}
else
{