c168a3654e1c54b358a7fb9c951da2eebfa93005 |
|
05-Jan-2011 |
John Reck <jreck@google.com> |
Updates bookmark backup to use BP2 Bug: 3094458 This updates bookmark backup/restore to use BrowserProvider2, and also changes it so that it does *not* backup bookmarks anymore. It is now restore-only to essentially import bookmarks from older devices. Chrome sync is intended to take over backup duties. Change-Id: Ie1e9eac22be1fc5db982436928fe37f64606c605
/packages/apps/Browser/src/com/android/browser/BrowserBackupAgent.java
|
052ce667ce77c4fb3208c0b0dacba7be79c072d9 |
|
13-Sep-2010 |
Leon Scroggins III <scroggo@google.com> |
Beginning work on adding bookmarks with folders. Bug: 2953515 Provides the basic functionality for the AddBookmark page, allowing the user to save the bookmark in a folder of his/her choosing. Change-Id: I170599b723069aaee661dae3fc1a0fb915793906
/packages/apps/Browser/src/com/android/browser/BrowserBackupAgent.java
|
7f6cf3e4109426164c6fdd11aba0c69622e2353c |
|
18-Sep-2010 |
Jeff Hamilton <jham@android.com> |
Add bookmarks to the current account. Make sure to stuff newly created bookmarks in the currently active account so that they show up in the bookmarks UI and will get synced properly. Change-Id: I5677ddb8480957bc209d79cc41f7df02221ef66d
/packages/apps/Browser/src/com/android/browser/BrowserBackupAgent.java
|
fbbd2aced9ace1d063ad166d96a605446a9d2f7e |
|
04-May-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: I5dbf9446b7d4409ec843ee800c82ec06bda7c8db
|
3755040b84970071e07ccfa1e90f76c1bc3b119c |
|
21-Apr-2010 |
Henrik Baard <henrik.baard@sonyericsson.com> |
Fixed FindBugs warnings in BrowserBackupAgent.java This makes sure that streams are closed in corner cases. Change-Id: I185c0dbddc09338de3a63eab22c57afb8d1a9c1a
/packages/apps/Browser/src/com/android/browser/BrowserBackupAgent.java
|
b6a6544982df8c4dfa4a5871a3f6e0d9fe60dff3 |
|
06-Mar-2010 |
Christopher Tate <ctate@google.com> |
Refactor android.backup -> android.app.backup Change-Id: Ifc005e14e8b7ac921ffa1a56a46c5c4083b4ea2d
/packages/apps/Browser/src/com/android/browser/BrowserBackupAgent.java
|
f8b5998e54e80d462e6e56069df748007d209fc2 |
|
29-Sep-2009 |
Christopher Tate <ctate@android.com> |
Reduce browser backup agent's amount of logging DEBUG=false now, and so we emit only one-line activity summaries during backup and restore. Change-Id: Iffca70f60581672ce686429db0a4382d934de663
/packages/apps/Browser/src/com/android/browser/BrowserBackupAgent.java
|
aac7aa6fcfcb519755987ec126be066323f589c8 |
|
17-Sep-2009 |
Ben Murdoch <benm@google.com> |
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
/packages/apps/Browser/src/com/android/browser/BrowserBackupAgent.java
|
9c0dd8caacff99ba76bbb9dc2cab156cded505a8 |
|
11-Jul-2009 |
Christopher Tate <ctate@android.com> |
First real cut of bookmarks backup agent The agent now does backup/restore of the bookmarks table. Whether to back up is determined by flattening the bookmark table, CRCing the flattened representation, and comparing the CRC with the previous backup pass's version. If they differ (or if the file size differs), the table is deemed to have changed and we send the flattened file off to the server as a single key. On restore, the bookmark records are read individually from the flattened representation, the existing bookmarks table is queried for a matching URL, and if none exists the bookmark is inserted into the table. Bookmarks.addBookmark() now takes a boolean argument "retainIcon." When false, the implementation will not call into the web icon database. This is necessary during restore because the web icon database is only available from the Browser app's main thread, but restore happens without the app proper being involved. The other call points for addBookmark() have been updated to pass 'true,' i.e. preserving the current behavior.
/packages/apps/Browser/src/com/android/browser/BrowserBackupAgent.java
|
b4645a19f55ede86b59cf123eb15b913fddd135a |
|
10-Jul-2009 |
Christopher Tate <ctate@android.com> |
Remember to advance the cursor
/packages/apps/Browser/src/com/android/browser/BrowserBackupAgent.java
|
de6f131625bc4a24170d021e49d61fb694138669 |
|
07-Jul-2009 |
Christopher Tate <ctate@google.com> |
Skeleton backup agent for Browser This is a skeleton backup agent for the Android Browser, intended to back up and restore the bookmarks table from browser.db by extracting the bookmarks table into a flattened file representation on backup, then unflattening and rebuilding the table during restore. It compiles but is completely untested, since the db code to read/write the bookmarks table is not finished. The backup agent has been declared in the Browser manifest, however.
/packages/apps/Browser/src/com/android/browser/BrowserBackupAgent.java
|