Solve incorrect behaviours on android

This commit is contained in:
Angela Mazzurco 2017-07-18 17:05:04 +02:00
parent c0d00c8b7c
commit 938c3109f6
2 changed files with 1 additions and 2 deletions

View File

@ -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;
}

View File

@ -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)
}