--- a/localconnectivityservice/obexreceiveservices/opp/src/oppcontroller.cpp Thu Jul 15 19:38:28 2010 +0300
+++ b/localconnectivityservice/obexreceiveservices/opp/src/oppcontroller.cpp Thu Aug 19 10:46:39 2010 +0300
@@ -106,7 +106,7 @@
void COPPController::AbortIndication()
{
TRACE_FUNC
- HandleError(ETrue); // true because explicit abort
+ HandleError(EFalse); // false because note about receiving failed should appear
}
void COPPController::HandleError(TBool aAbort)
@@ -484,7 +484,7 @@
User::Leave(KErrGeneral);
}
- User::LeaveIfError(iFile.Open(iFs,iFullPathFilename,EFileWrite));
+ User::LeaveIfError(iFile.Open(iFs,iFullPathFilename,EFileWrite|EFileShareReadersOrWriters));
TObexRFileBackedBuffer bufferdetails(*iBuf,iFile,CObexBufObject::EDoubleBuffering);
TRAPD(err, iObexObject->SetDataBufL( bufferdetails) );