mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2025-02-21 04:12:51 +08:00
CB-4633: We really should close cursors. It's just the right thing to do.
This commit is contained in:
parent
118ca18d5a
commit
f33e00083a
@ -749,6 +749,7 @@ public class CameraLauncher extends CordovaPlugin implements MediaScannerConnect
|
||||
}
|
||||
Uri uri = Uri.parse(contentStore + "/" + id);
|
||||
this.cordova.getActivity().getContentResolver().delete(uri, null, null);
|
||||
cursor.close();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user