Moves Tab.updateBookmarkedStatus to DataController
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
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java
index 6c9c440..6541ec0 100644
--- a/src/com/android/browser/Controller.java
+++ b/src/com/android/browser/Controller.java
@@ -997,6 +997,7 @@
@Override
public void bookmarkedStatusHasChanged(Tab tab) {
+ // TODO: Switch to using onTabDataChanged after b/3262950 is fixed
mUi.bookmarkedStatusHasChanged(tab);
}