-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
area-essentialsEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App InfoEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App Infoarea-essentials-filepickert/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
When using the File Picker API in .NET MAUI (Android), system logs get spammed with warnings:
This suggests that ContentResolver.Query() is not closing cursors properly
Steps to Reproduce
- Open a .NET MAUI Android app.
- Use the File Picker API (FilePicker.PickAsync()) to select a file.
Link to public reproduction project repository
https://github.com/bhavanesh2001/FilpickerBug
Version with bug
9.0.30 SR3
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 14
Did you find any workaround?
No response
Relevant log output
[System] A resource failed to call CursorWindow.close.
[System] A resource failed to call CursorWrapperInner.close.
[System] A resource failed to call CursorWindow.close.
[System] A resource failed to call CursorWrapperInner.close.
[System] A resource failed to call CursorWindow.close.
[System] A resource failed to call CursorWrapperInner.close.
[System] A resource failed to call CursorWindow.close.
[System] A resource failed to call CursorWrapperInner.close.
[System] A resource failed to call CursorWindow.close.
[System] A resource failed to call CursorWrapperInner.close.
[System] A resource failed to call CursorWindow.close.
[System] A resource failed to call CursorWrapperInner.close.
[System] A resource failed to call CursorWindow.close.
[System] A resource failed to call CursorWrapperInner.close.
[System] A resource failed to call CursorWindow.close.
[System] A resource failed to call CursorWrapperInner.close.Metadata
Metadata
Assignees
Labels
area-essentialsEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App InfoEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App Infoarea-essentials-filepickert/bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done