summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/provider
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Tests fixup"John Reck2011-08-091-1/+1
|\
| * Tests fixupJohn Reck2011-08-091-1/+1
| | | | | | | | | | | | | | | | | | Bug: 5113381 Fix case of using the wrong context (BP1 would use the app context explicitly, bypassing the mock context) Clean up test databases after runs Change-Id: Ibac09d08d4ab7235d5763c209d84be2562e6fae3
* | Move local bookmarks to end of Bookmark pageJohn Reck2011-08-081-0/+27
|/ | | | | | | Bug: 5136280 Also hide empty accounts in the bookmark page Change-Id: I39067b5325d24c7ebf41df88c6231c411983fc57
* Cache the application context instead of Activity.Ben Murdoch2011-08-011-1/+1
| | | | | | | | | When storing a reference to a Context, ensure that it's the Application context rather than Activity Context. Bug: 5084293 Change-Id: Ib0be5f8ceb91846bb985d0813a8f22cabd44eaf8
* Fix race conditionJohn Reck2011-07-291-4/+14
| | | | | | | | | Bug: 5042778 There was a chance that the widget refresh would happen before the SQL transaction was committed. Meaning the widget would correctly be notified, but it would refresh before the delete actually occured Change-Id: Ie7ae3104077c9ebeba4928d3fe7b6a6793f31ca1
* Turbobox!John Reck2011-07-281-1/+43
| | | | | | | | Bug: 5080207 Fix the omnibox's slow performance. It's now pretty snappy if I do say so myself Change-Id: I42d9ed87bcfa1a30f2413e0241afc254ae1e472d
* Merge "Tests for BP1->BP2 upgrade"John Reck2011-07-281-1/+5
|\
| * Tests for BP1->BP2 upgradeJohn Reck2011-07-281-1/+5
| | | | | | | | | | | | Bug: 5087957 Change-Id: Idf70c488baa515222ce8ed905aa5c80a529fd15f
* | Merge "Fix Strict Mode violation in SnapshotProvider."Ben Murdoch2011-07-281-8/+15
|\ \
| * | Fix Strict Mode violation in SnapshotProvider.Ben Murdoch2011-07-281-8/+15
| |/ | | | | | | | | | | | | | | Don't initialise the database helper until we need it - doing it in onCreate hits the disk. Bug: 5090265 Change-Id: I84ddde4da46452804fd3030ef1a49c4ba6eb69b4
* | Fix for bug 5090755 StrictMode violation BrowserProvider2 - Cursor not closedKristian Monsen2011-07-281-3/+8
|/ | | | | | Closing all cursors in the file that were not closed. Change-Id: I0dd3f4d438d1cb8390ac297322ee38d0afd50fea
* Fix HC -> ICS db upgradeJohn Reck2011-07-271-0/+20
| | | | | | | | Bug: 3249854 When upgrading from HC to ICS, enable account sync for browser as in HC it defaulted to off whereas in ICS we default to on. Change-Id: I69ccd535409c0e5b031efe087c09cc06281c2537
* Restore overhaulJohn Reck2011-07-271-1/+59
| | | | | | | | Bug: 5069192 Store thumbnails in a database restored async for each tab Fix restoring a tab not restoring its current state Change-Id: I2c14e352638aac0ef766fb3bf4036ff220c53ecd
* Move Snapshots to own DB on sdcardJohn Reck2011-07-072-67/+262
| | | | | | Bug: 4982126 Change-Id: Ib66b2880d163de4feb4d880e1d01996301bbea08
* Saved Pages tabJohn Reck2011-07-011-0/+1
| | | | | | | | | | Bug: 4982126 Add saved pages tab Remove "save page" menu option Add "save for offline reading" menu option Smooth animation to combo view Change-Id: Ia67552a6f6a5474a6dfcff6790a341d4d36d5a77
* Merge "Prevent duplicates in omnibox"John Reck2011-06-271-2/+5
|\
| * Prevent duplicates in omniboxJohn Reck2011-06-271-2/+5
| | | | | | | | Change-Id: Idf91591a981543fb84a73d08e3c5bbc2c7d23d6f
* | Fix testsJohn Reck2011-06-271-0/+1
|/ | | | | | | Bug: 4771193 Fix bug where data URL was stripped instead of just text2 Change-Id: I93ebcdd3a7ef4106dbdeda0ea16773ac919b3cb2
* Merge "Delete bookmarks when sync account is removed"John Reck2011-06-171-0/+7
|\
| * Delete bookmarks when sync account is removedJohn Reck2011-06-171-0/+7
| | | | | | | | | | | | Bug: 4686176 Change-Id: I1d05cc72e1cf65d04eb7def4a72a2f83420bd345
* | Fix adding bookmarksJohn Reck2011-06-171-11/+33
|/ | | | | | | | Bug: 4691351 Allows adding with a parent without specifying the account name and type Change-Id: I6ab2e726ccdbce24d5a6bed250d613b7bf53e53b
* Persistent frozen tabsJohn Reck2011-06-141-12/+74
| | | | | | | | On Tablet WebViews for frozen tabs are created on demand On Phone WebViews for frozen tabs are tied to the lifecycle of the SnapshotTab for nav screen reasons (for now) Change-Id: I80cb48e748c4dd4b8564426d5e05b92f3eea7a36
* Remove sync settingJohn Reck2011-05-261-2/+13
| | | | Change-Id: I7719c82a3a63d8ac8022e70e3a7f7b4a814e304f
* Remove no longer needed sync settings/codeJohn Reck2011-05-261-27/+0
| | | | | | | Now that we support multiple accounts, remove a bunch of single-account management stuff Change-Id: I2ae60f0a510ace48e14c97763145d4e5dd523dd1
* Transfer data from BP1 to BP2John Reck2011-05-182-1/+1225
| | | | | | Also move BP1 to provider package Change-Id: I082df8f675d32e2b9072914eab4ee1d50543e169
* Add provider support for moving between accountsJohn Reck2011-05-171-7/+91
| | | | | | | Fix the provider to correctly handle the case where a bookmark is re-parented to a new account Change-Id: I3c4412cfe2fc73bbb7209cbd85b0b8e5249982c6
* Strip text2_urlJohn Reck2011-05-111-1/+2
| | | | | | Bug: 4387881 Change-Id: I624db23a1181b5f8d8c7fe1a42916f6616655309
* Create accounts viewJohn Reck2011-05-111-5/+27
| | | | Change-Id: I2eb3c3566a74f208c02f1419ffa12d51619b83ef
* Initial pass at collapsable bookmarksJohn Reck2011-05-101-1/+1
| | | | | | | Change bookmark view to show all bookmarks Group by account_name Change-Id: I2c252c9f0e8d4df4271649dbe9bf3db336f921df
* Merge "Adding search_client_id which includes the "ms-" or "tablet-" ↵Reena Lee2011-03-231-2/+2
|\ | | | | | | client-id prefix, set in GooglePartnerSetup. Retaining client-id (which does not include the client-id prefix) for legacy purposes, if Browser is used with an older version of GooglePartnerSetup." into honeycomb-mr1
| * Adding search_client_id which includes the "ms-" or "tablet-" client-id ↵Reena Lee2011-03-041-2/+2
| | | | | | | | | | | | | | | | | | | | prefix, set in GooglePartnerSetup. Retaining client-id (which does not include the client-id prefix) for legacy purposes, if Browser is used with an older version of GooglePartnerSetup. Bug #3483276 Change-Id: Ice4788ef78f4b58c5d981b50d5248aa51a53733d
* | Add invalid id check to isValidParentJohn Reck2011-03-041-0/+3
|/ | | | | | Bug: 3512786 Change-Id: I8f16038e230a24bcc50e4cc75d24f413d0166844
* Fix isValidParent checkJohn Reck2011-03-031-1/+1
| | | | | | | | Bug: 3506038 Lookup the parent itself, not the children of the parent in isValidParent check. Also, adds testing to watch for regressions Change-Id: I59f00094f862f2e9cd4b4f9fd92d370b87e612e5
* Prevent PARENT account from not matching inserted valuesJohn Reck2011-02-231-5/+34
| | | | | | | | Bug: 3481259 Adds a check in insert to make sure that the PARENT folder has the same account_* values as the bookmark being inserted. Change-Id: I5e42e94fd4eac39eb73047e4246d2102d8e55d82
* Fix shouldUpdateImage checkJohn Reck2011-02-171-0/+3
| | | | | | | Bug: 3466212 Also added a test case to check for regressions Change-Id: I9a8979a0ced165f1c94945c62687b0bf3b7076fe
* Changes BP2 to notify on the full URIJohn Reck2011-02-072-86/+143
| | | | | | | | Bug: 3262950 Changes BP2 so that instead of sending notifications on the root URI it uses the full URI of what was changed, preventing notification spam. Change-Id: I1ff09d5e1426b6aef0158887ea968de86c253b98
* BP2 ContentResolver.notifyChange testsJohn Reck2011-02-071-5/+23
| | | | | | Bug: 3431373 Change-Id: I0ce30213150c6dd51b128723f044bd32eb2b46a3
* Get the widget off of startserviceJohn Reck2011-02-041-1/+24
| | | | | | | Bug: 3379120 Now with drastically lower memory usage as well! Change-Id: Iff16d2acceba3c8a983a51ec03a31a39ac6a12ed
* asset drop & namingMichael Kolb2011-01-201-1/+1
| | | | | | | | | drop in new assets get naming in sync with UX Note: not all resources are included yet item_background...xm will be enabled when all required resources come in Change-Id: I321084abd25ef6c533f1f3da636a246e7ee00547
* Merge "Enable write ahead logging in browser database." into honeycombLeon Scroggins2011-01-111-0/+1
|\
| * Enable write ahead logging in browser database.Leon Scroggins2011-01-111-0/+1
| | | | | | | | | | Bug:3337213 Change-Id: I316beb857cec441b0dffeb93073651632f7c86b7
* | Fix no preload available crashJohn Reck2011-01-111-0/+3
|/ | | | Change-Id: If210b29ce09e7bb7cddc6092601b98b77fa8444e
* DO NOT MERGE - Fixes account_* URI handling in BP2John Reck2011-01-071-60/+68
| | | | | | | | | | | Cherry pick from master Bug: 3329654 Changes the handling of account_* URI parameters to allow requests to distinguish between no account_* filtering and filter to the default account. Change-Id: Ic633d2dcb4c04d51aabffb504a57f08f83de08cb
* Fixes Chrome Sync caused by BP2 account_* whereJohn Reck2011-01-051-9/+14
| | | | | | | | | | | | Bug: 3324737 Chrome Sync adapter was adding the account_* selection directly to the query rather than using URI parameters. This caused an issue where BP2 would then assume that no account was specified, and added a where to only search for NULL account_*. This broke the selection, thus breaking sync. Changed it so BP2 only adds account_* selection if the selection passed in does not already contain account_*. Change-Id: I5ed5800a5b478ab9eaaa1da773e9fc726f73db5c
* Fixes CTS failuresJohn Reck2010-12-221-9/+29
| | | | | | Bug: 3306992 Change-Id: I5956746eac4622a64d50c72b57589f797f0d97a1
* Delete unused imagesJohn Reck2010-12-211-4/+22
| | | | | | | | | Bug: 3303813 When clearing history or deleting a bookmark, the images associated are never removed. This will prune unused images on every delete or update. Change-Id: I733bf4bd9c06cd8e827a576738f7873d6bdaf8bb
* Readds support for browser/search_suggest_queryJohn Reck2010-12-211-2/+13
| | | | | | | | Bug: 3303267 BrowserProvider2 wasn't handling a URI that BP1 was. It will be handled the same way as browser/bookmarks/search_suggest_query Change-Id: I02acd5d2bdb16ec2335a8e3181f0f652d478971d
* Add legacy mimetype support to BP2John Reck2010-12-171-2/+2
| | | | | | | Bug: 3292599 BP2 wasn't reporting the mime types for legacy URIs, causing the crash Change-Id: I68e5982091043445579205f67c2ca37ca426508f
* BP2 now handles old browser URIJohn Reck2010-12-151-25/+305
| | | | | | | | Bug: 3248258 Adds support for handling legacy URIs in BrowserProvider2, and makes it the handler for all legacy URI requests. Change-Id: I0a0210a5c8c716452b9a3de5e3294dd5dde1b37c
* Adds support for PARAM_ACCOUNT* to Combined URIJohn Reck2010-12-101-50/+95
| | | | | | | | Bug: 3203588 This change adds support for the PARAM_ACCOUNT* query parameters when querying the Combined.CONTENT_URI Change-Id: I9a8f312a73f63189bdf85ca0eb9eea74e994dba5