mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
Solve incorrect behaviours on android
This commit is contained in:
parent
c0d00c8b7c
commit
938c3109f6
2 changed files with 1 additions and 2 deletions
|
@ -169,7 +169,6 @@ public class RetroShareQmlActivity extends QtActivity
|
|||
.getColumnIndexOrThrow(MediaStore.Images.Media.DATA);
|
||||
cursor.moveToFirst();
|
||||
String result = cursor.getString(column_index);
|
||||
cursor.close();
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ Item
|
|||
function androidResult (uri)
|
||||
{
|
||||
console.log("QML Android image uri found" , uri)
|
||||
resultFile = uriToFilePath (uri)
|
||||
resultFile = normalizeUriToFilePath (uri)
|
||||
mainWindow.delUriHandler("media", androidResult)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue