commit | 6b69ffa348d4fcec92e805d2df3d412137b660af | [log] [tgz] |
---|---|---|
author | Joe Bowser <bowserj@apache.org> | Thu Apr 16 16:46:08 2015 -0700 |
committer | Joe Bowser <bowserj@apache.org> | Thu Apr 16 16:46:08 2015 -0700 |
tree | fbc7716a7c1e88b218a8d2a48343be2f2899ce26 | |
parent | df09ba5323cd87d3d44a292f79190ccfcfea02db [diff] |
CB-5278: We must close the cursor or we take down the whole app, and the debugger doesn't catch it.
diff --git a/src/android/ContactAccessorSdk5.java b/src/android/ContactAccessorSdk5.java index 023d30d..541e11d 100644 --- a/src/android/ContactAccessorSdk5.java +++ b/src/android/ContactAccessorSdk5.java
@@ -1813,6 +1813,8 @@ Log.d(LOG_TAG, "Could not find contact with ID"); } + cursor.close(); + return (result > 0) ? true : false; }