android-rcs / rcsjta

RCS-e stack for Android with GSMA API
180 stars 74 forks source link

File icon is not deleted #188

Closed yplo6403 closed 8 years ago

yplo6403 commented 8 years ago

Initial conditions: a file transfer with an attached file icon exists in the log. Action: delete the file transfer from the log. Expected result: the file icon is erased from the external storage. Result: the file icon still exists.

The problem is that the file icon URI is stored into the filetransfer provider but when it is read from the provider it is used as a file path (and it is a URI string representation). The method FileTransferLog#getFileTransferIcon(String fileTransferId) should return an URI and not a String.

yplo6403 commented 8 years ago

Bug fixed with commit: commit 54350b2c72a90798f7bf4960283c8d2e5f61a60c Author: yplo6403 philippe.lemordant@orange.com Date: Mon Jan 25 12:02:24 2016 +0100

File icon is not deleted #188
Change the signature of FileTransferLog#getFileTransferIcon to return
a Uri instead of a String since we persist a file Uri.