diff options
author | Leon Scroggins <scroggo@google.com> | 2010-04-23 14:58:16 -0400 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2010-04-23 15:04:32 -0400 |
commit | c8393d9cfa47e3f5f279b17c412fd363e7ea94bd (patch) | |
tree | 79dff7d9ee7546f1f2e0edc407d0a1cff3c9fbed /src/com/android/browser/AddBookmarkPage.java | |
parent | 0b82a6f7279254851b05425f0b5ac34849bc2ca5 (diff) | |
download | packages_apps_Browser-c8393d9cfa47e3f5f279b17c412fd363e7ea94bd.zip packages_apps_Browser-c8393d9cfa47e3f5f279b17c412fd363e7ea94bd.tar.gz packages_apps_Browser-c8393d9cfa47e3f5f279b17c412fd363e7ea94bd.tar.bz2 |
Move queryBookmarksForUrl to background thread.
Bug 2611964
Change-Id: I8f69ec42fbf880d031cfc2372cffd9719db4e280
Diffstat (limited to 'src/com/android/browser/AddBookmarkPage.java')
-rw-r--r-- | src/com/android/browser/AddBookmarkPage.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/android/browser/AddBookmarkPage.java b/src/com/android/browser/AddBookmarkPage.java index 6a6fb3b..1104d5e 100644 --- a/src/com/android/browser/AddBookmarkPage.java +++ b/src/com/android/browser/AddBookmarkPage.java @@ -135,10 +135,7 @@ public class AddBookmarkPage extends Activity { final ContentResolver cr = getContentResolver(); Bookmarks.addBookmark(null, cr, url, title, thumbnail, true); if (touchIconUrl != null) { - final Cursor c - = BrowserBookmarksAdapter.queryBookmarksForUrl(cr, - null, url, true); - new DownloadTouchIcon(cr, c, url).execute(mTouchIconUrl); + new DownloadTouchIcon(cr, url).execute(mTouchIconUrl); } mMessage.arg1 = 1; } catch (IllegalStateException e) { |