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/BrowserBackupAgent.java | |
parent | c6fa1104e549b8f5b89195d22c41059e77672dfa (diff) | |
download | packages_apps_Browser-aac7aa6fcfcb519755987ec126be066323f589c8.zip packages_apps_Browser-aac7aa6fcfcb519755987ec126be066323f589c8.tar.gz packages_apps_Browser-aac7aa6fcfcb519755987ec126be066323f589c8.tar.bz2 |
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/BrowserBackupAgent.java')
-rw-r--r-- | src/com/android/browser/BrowserBackupAgent.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/BrowserBackupAgent.java b/src/com/android/browser/BrowserBackupAgent.java index c239b12..fe3b7ea 100644 --- a/src/com/android/browser/BrowserBackupAgent.java +++ b/src/com/android/browser/BrowserBackupAgent.java @@ -162,7 +162,7 @@ public class BrowserBackupAgent extends BackupAgent { // Right now we do not reconstruct the db entry in its // entirety; we just add a new bookmark with the same data Bookmarks.addBookmark(null, getContentResolver(), - mark.url, mark.title, false); + mark.url, mark.title, null, false); } else { Log.v(TAG, "Skipping extant url: " + mark.url); } |