summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/DataController.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix NPE in queryIsBookmarkJohn Reck2011-01-071-1/+6
| | | | | | | | Bug: 3326838 Fixed a case where a Tab can have a null URL and added null checks to the DataController. Change-Id: I9b27479c522928cde5d427919f2f921ca94aec5d
* Moves Tab.updateBookmarkedStatus to DataControllerJohn Reck2011-01-051-47/+142
| | | | | | | | | | | | | Bug: 3277738 Changed Tab.updateBookmarkedStatusForUrl from an AsyncTask to using the DataController. This also changes DataController from using Handlers and Messages to using its own message queue so that it can inspect and manipulate the queue (remove duplicate requests, for example). It also allowed for a cleaner API for callers, as it could then just take an interface callback instead of a Messenger to reply to. Change-Id: I4fd693c02d9e959b18e68fa474d2e3df94a305e0
* Fixes history update race conditionJohn Reck2010-12-101-0/+118
Bug: 3270709 Since ContentResolver does not have transaction support, I moved history updates to a controller that can serialize updates to the history table. This prevents the race condition. Change-Id: Ic33bedb9d6faef2393379306f8f88778d16caf24