CB-4633: We really should close cursors. It's just the right thing to do.

This commit is contained in:
Joe Bowser 2013-09-04 11:33:35 -07:00
parent 118ca18d5a
commit f33e00083a

View File

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