From aac7aa6fcfcb519755987ec126be066323f589c8 Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Thu, 17 Sep 2009 16:57:40 +0100 Subject: In the case of a page load error, save a second screenshot in onProgressChanged(100) to ensure that we save the substituted error page rather than the previous page that loaded. Also save the thumbnail for the page if the user creates the bookmark through the add bookmark menu or clicking the add bookmark icon on the bookmarks page. Change-Id: Ib2b7692a45290f9ce372968e05cde8f6903e4572 --- src/com/android/browser/HistoryItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/android/browser/HistoryItem.java') diff --git a/src/com/android/browser/HistoryItem.java b/src/com/android/browser/HistoryItem.java index 9d6dec70d..51cb026f6 100644 --- a/src/com/android/browser/HistoryItem.java +++ b/src/com/android/browser/HistoryItem.java @@ -46,7 +46,7 @@ import android.widget.TextView; boolean isChecked) { if (isChecked) { Bookmarks.addBookmark(mContext, - mContext.getContentResolver(), mUrl, getName(), true); + mContext.getContentResolver(), mUrl, getName(), null, true); } else { Bookmarks.removeFromBookmarks(mContext, mContext.getContentResolver(), mUrl, getName()); -- cgit v1.2.3