summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/provider
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Adds selection support to Bookarks DEFAULT_FOLDERJohn Reck2010-12-101-24/+30
| | | | | | | | Bug: 3268145 Adds support for selection and selectionArgs when using Bookmarks.CONTENT_URI_DEFAULT_FOLDER Change-Id: I2b6c6c47c2f7b42d64acff13d991869a7dc2d9b3
* Adds client id URL filtering to the providerJohn Reck2010-12-101-1/+34
| | | | | | | | | Bug: 3270662 Moves the client id URL filtering into the provider so that it is applied to all history queries, updates, and inserts. We do this because we do not want the client id in the history. Change-Id: Ifb77debcb1c2102bd72701910bfbf07ed23c45ef
* Revert "Adds selection support to Bookarks DEFAULT_FOLDER"Leon Scroggins2010-12-101-29/+24
| | | | This reverts commit 8bb2e844c542df30a109c081700ea829dc427e6d.
* Adds selection support to Bookarks DEFAULT_FOLDERJohn Reck2010-12-091-24/+29
| | | | | | | | Bug: 3268145 Adds support for selection and selectionArgs when using Bookmarks.CONTENT_URI_DEFAULT_FOLDER Change-Id: I7732d12875266c205325f5052b931bc214a2067b
* Fixes bookmark sort orderJohn Reck2010-11-111-4/+18
| | | | | | | | | Bug: 3185357 Changes the default sort behavior of bookmarks. If the browser is not sync'd, then folders are sorted before bookmarks. If the browser is sync'd, then the user-specified position takes absolute priority. Change-Id: Ie27938a59714b0cd27c4419a66aab5076df69104
* Add support for preloaded thumbnails and faviconsJohn Reck2010-11-091-4/+50
| | | | | | | | Bug: 3091535 This change adds support for preloading thumbnails and favicons for the default bookmark set. Change-Id: Iaead4c08b343467f6c46cf571959d42d6baf497c
* Adds support for Chrome Sync to bookmark widgetJohn Reck2010-11-091-2/+5
| | | | | | | | Bug: 3167815 This change adds support to the bookmark widget for Chrome Sync bookmarks. Change-Id: I7517e639216040f93e105014ae1ef116ac8e0e06
* New bookmark list widgetJohn Reck2010-11-011-0/+1
| | | | | | | | Bug: 3144077 and 2988059 This replaces the old stack based widget with a list based one. It also updates whenever the bookmarks changes rather than periodically Change-Id: Ie37978918bab441bf31a6131360e308cd2bc0f4b
* Use the proper sort order for the no-account case.Jeff Hamilton2010-10-131-1/+1
| | | | Change-Id: I5c1e0e9f4535456e4a74069c20d5909df8641341
* browser: Move SyncStateContentProviderHelper to frameworks/exBjorn Bringert2010-10-101-1/+1
| | | | Change-Id: Ida53c16f1ba0b4c741af8617fe0e9c6df13166b1
* Send change notifications for the default folder.Jeff Hamilton2010-10-041-1/+6
| | | | | | | | The notification URI wasn't being set properly for queries on the default folder. Bug: 3013098 Change-Id: I6418c5189b88888b3a588c7264b3f9f56ec95d78
* Add settings to enable bookmarks sync.Jeff Hamilton2010-09-281-76/+74
| | | | Change-Id: I86bc4ce9d21ec0a040322bd704cef46eaa17dc9c
* Use the Bookmarks Bar as the base folder.Leon Scroggins2010-09-281-1/+1
| | | | | | Use the bookmarks bar as the base folder for adding bookmarks. Change-Id: I7f3dfaf0784529ff03b6153937a43eaf7c5ac044
* new two column suggestion dropdownMichael Kolb2010-09-271-3/+27
| | | | | | http://b/issue?id=3039704 Change-Id: I8b32553682cc547c695d0089e6633ead77426869
* Add a basic account picker to the bookmarks pickerJeff Hamilton2010-09-171-0/+1
| | | | | | | The account picker only shows up when you have multiple accounts providing bookmarks. Change-Id: I341d37d81551ca571713ac66d564c9cb0a86653c
* Fix crashes when inserting.Jeff Hamilton2010-09-171-3/+8
| | | | | | You can now have bookmarks with duplicate URLs. Change-Id: Ie3adf413c01c6ffab3659a6947037b35f03842ef
* Don't crash when creating a bookmark.Jeff Hamilton2010-09-161-1/+1
| | | | | Bug: 3007425 Change-Id: I9c802b05952791c205fa2f7d1f0add0272bda10f
* A bunch of updates to BrowserProvider2.Jeff Hamilton2010-09-151-63/+372
| | | | | | | | | | | | | | | | | | | The images are now shared between the history and bookmarks tables so updates to one are reflected in the other. Added a parameter for specifying a limit when calling query(). Added a combined view of history and bookmarks. Added a way to get a distinct list of the accounts providing bookmarks. Added the ability to find the server unique IDs for parent and insert_after when doing a query for a row. Change-Id: I9afa15bcf7ca68468793c49fbec701e516e4540e
* Don't show deleted bookmarks in the default page view.Jeff Hamilton2010-09-071-1/+1
| | | | Change-Id: Ie9cae028d7ccb491dc1e1d323e9abb0aef442455
* Adds creation and modification timestamps to the bookmarks content provider. ↵Cyrus Master2010-09-021-3/+14
| | | | | | See change I44fec169. Change-Id: I8542547d09b8202c8f60a44945369933c79292eb
* Change searches to do an upsert on insert().Jeff Hamilton2010-09-021-13/+28
| | | | Change-Id: Ib1d2f3ec678b37620f0907981c3d39cee634d9d7
* Properly update the local version when updating bookmarks.Jeff Hamilton2010-08-201-20/+21
| | | | Change-Id: I22c1ba9eed960ba773ecb949edc0b4b2b54fa287
* Add INSERT_AFTER to the projection map.Jeff Hamilton2010-08-191-0/+1
| | | | | Bug: 2934767 Change-Id: Ib019936895c128dc9cdb706c1f93fd6d9eb98f0d
* Switch the bookmarks and history over to fragments.Jeff Hamilton2010-08-181-1/+1
| | | | Change-Id: If4edc97d1115bfd261136d5b8cfc82afa21f8ced
* Switch the history management over to the new provider.Jeff Hamilton2010-08-181-17/+29
| | | | | | | Also fix up a bunch of bugs causing things like thumbnails to not be stored properly. Change-Id: I5758ee108734d9b50e741822dcbe86b7cc834e8e
* Store the server unique values for the default folders.Jeff Hamilton2010-08-171-10/+26
| | | | Change-Id: I62173b733bb189b3d7af6aa64f986c7a98249ccf
* Update to the new contract class location.Jeff Hamilton2010-08-172-373/+5
| | | | Change-Id: I3ebf5a9dbac4b3b6ecbc0468242dedf909c23882
* First revision of the new browser provider.Jeff Hamilton2010-08-163-0/+1368
This one has support for bookmarks sync, has the bookmarks and history in separate tables, and supports hierarchical bookmarks. Compatibility with the old APIs is not yet complete. The Bookmarks UI has been switched over to the new provider. Creating bookmarks puts them in the UIs root folder. Change-Id: Ib21713ddd19f43d178d49dbac977f749e7103368