Fix incorrect filename when receiving files

Review Request #118878 - Created June 22, 2014 and submitted

Information
David Rosca
bluedevil
frameworks
Reviewers
bluedevil
afiestas
This patch fixes an issue that received file may be saved with incorrect name.

All incoming file transfers are temporarily downloaded into temp folder ($CACHE/obexd) and then moved to the target folder.
When there is already a file with the same name in temp folder, unique name is choosed (appending a number after original name).
The issue is that this modified name is used for the transfer (displayed in notification) and also for a final file (when copied from temp to target folder).

This patch should also go to master branch.
Transfers always use correct filename regardless of contents of temp folder.
Àlex Fiestas
Commit Hook
This review has been submitted with commit effcc04be266ac14e19025bae4336c64194055e6 by David Rosca to branch frameworks.
David Rosca
Review request changed

Status: Closed (submitted)

Loading...