am 95e3548e: Merge "Close cursor to avoid excessive JNI references"

Merge commit '95e3548ed91c17f0d3b4d27eac6a8e57338caec3' into gingerbread-plus-aosp

* commit '95e3548ed91c17f0d3b4d27eac6a8e57338caec3':
  Close cursor to avoid excessive JNI references
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java
index a30bf83..6271e24 100644
--- a/src/com/android/browser/BrowserActivity.java
+++ b/src/com/android/browser/BrowserActivity.java
@@ -2304,6 +2304,10 @@
                                         getString(
                                         R.string.choosertitle_sharevia));
                             }
+                            // close the cursor after its used
+                            if (c != null) {
+                                c.close();
+                            }
                             break;
                         case R.id.copy_link_context_menu_id:
                             copy(url);