diff options
| author | Ben Murdoch <benm@google.com> | 2009-09-17 16:57:40 +0100 |
|---|---|---|
| committer | Ben Murdoch <benm@google.com> | 2009-09-24 21:30:24 +0100 |
| commit | aac7aa6fcfcb519755987ec126be066323f589c8 (patch) | |
| tree | a6a48f5e8055dcfa0c45eae96002aad4557e605c /src/com/android/browser/HistoryItem.java | |
| parent | c6fa1104e549b8f5b89195d22c41059e77672dfa (diff) | |
| download | packages_apps_Browser-aac7aa6fcfcb519755987ec126be066323f589c8.tar.gz packages_apps_Browser-aac7aa6fcfcb519755987ec126be066323f589c8.tar.bz2 packages_apps_Browser-aac7aa6fcfcb519755987ec126be066323f589c8.zip | |
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
Diffstat (limited to 'src/com/android/browser/HistoryItem.java')
| -rw-r--r-- | src/com/android/browser/HistoryItem.java | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |
