summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/AddBookmarkPage.java
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2010-04-23 14:58:16 -0400
committerLeon Scroggins <scroggo@google.com>2010-04-23 15:04:32 -0400
commitc8393d9cfa47e3f5f279b17c412fd363e7ea94bd (patch)
tree79dff7d9ee7546f1f2e0edc407d0a1cff3c9fbed /src/com/android/browser/AddBookmarkPage.java
parent0b82a6f7279254851b05425f0b5ac34849bc2ca5 (diff)
downloadpackages_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.java5
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) {