diff options
author | Patrick Scott <phanna@android.com> | 2010-10-22 07:04:17 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-10-22 07:04:17 -0700 |
commit | 0d0e70129c821da7ef6cae09bca7078d2fce1992 (patch) | |
tree | 0cfba3a93e8743062f262c3e8fb9e7197d7d65b3 /src | |
parent | f1af4fb48112ee9b749f0a27b8baaa52c2632ef5 (diff) | |
parent | 95e3548ed91c17f0d3b4d27eac6a8e57338caec3 (diff) | |
download | packages_apps_Browser-0d0e70129c821da7ef6cae09bca7078d2fce1992.zip packages_apps_Browser-0d0e70129c821da7ef6cae09bca7078d2fce1992.tar.gz packages_apps_Browser-0d0e70129c821da7ef6cae09bca7078d2fce1992.tar.bz2 |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/browser/BrowserActivity.java | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ public class BrowserActivity extends Activity 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); |