mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Solve incorrect behaviours on android
This commit is contained in:
parent
c0d00c8b7c
commit
938c3109f6
@ -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…
Reference in New Issue
Block a user