summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/provider
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Remove voice search handling" into jb-devMichael Kolb2012-05-031-114/+4
|\
| * Remove voice search handlingMichael Kolb2012-05-031-114/+4
| | | | | | | | | | | | Bug: 6439925 Change-Id: I1b7161a67fa0c20d87f147d6ed19c02e53093054
* | Fix NPEJohn Reck2012-05-031-1/+6
|/ | | | | | | | Bug: 6400217 Old saved pages won't have a data file to delete as their data is entirely in the DB. Change-Id: I8f497cec72ca543718b3a1f207e71b0eaa2c14ea
* Remove debug codeJohn Reck2012-04-241-12/+0
| | | | Change-Id: I53236e23990e996b86944214b45a9af014b296f6
* Merge "Fix typo"John Reck2012-04-241-1/+1
|\
| * Fix typoJohn Reck2012-04-241-1/+1
| | | | | | | | | | | | Bug: 6380858 Change-Id: Iaa5f5629b02a37bf4b5425d06857808f53e05ec9
* | Bookmark page changesJohn Reck2012-04-231-0/+12
|/ | | | | | | | | Bug: 6372933 Fix a race condition between update & destroy Fix update path Add some extra debug support Change-Id: I66a450e175b22d992de97d5bc24200961144412a
* Change where saved pages are storedJohn Reck2012-04-191-78/+73
| | | | | | | | | Bug: 5416822 Move saved pages out of external storage (b/5605575) Save them as files instead of in the database, as the database has a row size limit Change-Id: I03b5af2459724d8cab67a9acfcc2827c7129e80f
* Support BOOKMARK_TYPEJohn Reck2012-04-121-0/+11
| | | | | | | | Bug: 6332869 Bug: 5494697 Bookmark type also gives us an easy way to localize Other Bookmarks Change-Id: Iab208da0cb1b2af5d256990cdc4ab5c11821523b
* Enable WAL mode using new API, which is more efficient.Jeff Brown2012-03-221-1/+1
| | | | | Bug: 6124556 Change-Id: I49b6ba6706878d0e78d8457cde7cb9055663bfe0
* Should recycle TypedArray.Jeff Brown2012-03-081-0/+2
| | | | Change-Id: Iac0fdd3aa971ee1a625bb636f45b6c8ca40bb449
* Switch BP1->2 upgrade to best effortJohn Reck2011-12-021-6/+12
| | | | | | | | Bug: 5705036 Prefer a partial upgrade or loss of data over crashing if the data we are upgrading from fails constraint checks Change-Id: I0ad52278b61be73dc7d1201a8bde63fa667f2a2b
* Improve content notificationsJohn Reck2011-10-172-8/+54
| | | | | | | | Bug: 5465258 Restrict when we set syncToNetwork and clean up unnecessary notifications Change-Id: I19b6d2b3df6fd70ac3a1b386137ce67d371323e4
* Drop all snapshots for Skia changeJohn Reck2011-10-121-2/+5
| | | | | | Bug: 5388379 Change-Id: Ie41ea6d55f987033c052c87a5a6171a678e09d4f
* Return history/bookmarks from BrowserProvider.Mark Brophy2011-10-111-33/+34
| | | | | | | | | | | | | This makes the global-search query to the browser return the history table joined with the bookmarks table. This way, bookmarks in the history will have the correct icon set. Note: Since we're doing a left join of history with bookmarks, this means we won't show bookmarks which haven't been visited, something we consider a feature. 8) Bug: 5370935 Change-Id: I0068432ca1a8ef78f27b7a84eb7be3be56eae644
* Return browser history results for zero query.Mark Brophy2011-10-031-14/+42
| | | | | Bug: 5370935 Change-Id: Ie067bb5eb91101bada96b0c7c7e5afd2d14ed4ab
* 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