From 439c9a58765aa6aab95d55422ee61ea8360e912d Mon Sep 17 00:00:00 2001 From: John Reck Date: Tue, 14 Dec 2010 10:04:39 -0800 Subject: Spec update for Bookmark widget Bug: 3286323 This updates both the assets for the bookmark widget and slightly alters its behavior to match the updated spec. There are now two touch targets in the header, one launches the browser and the other launches the bookmarks view. Change-Id: I1e8864983852af8421280b86421dea1d9ed4335e --- src/com/android/browser/BrowserHistoryPage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/com/android/browser/BrowserHistoryPage.java') diff --git a/src/com/android/browser/BrowserHistoryPage.java b/src/com/android/browser/BrowserHistoryPage.java index 18feee9b5..c62301259 100644 --- a/src/com/android/browser/BrowserHistoryPage.java +++ b/src/com/android/browser/BrowserHistoryPage.java @@ -209,8 +209,8 @@ public class BrowserHistoryPage extends Fragment mEmptyView = root.findViewById(android.R.id.empty); // Start the loader - getLoaderManager().initLoader(LOADER_HISTORY, null, this); - getLoaderManager().initLoader(LOADER_MOST_VISITED, null, this); + getLoaderManager().restartLoader(LOADER_HISTORY, null, this); + getLoaderManager().restartLoader(LOADER_MOST_VISITED, null, this); // Register to receive icons in case they haven't all been loaded. CombinedBookmarkHistoryView.getIconListenerSet().addListener(mIconReceiver); -- cgit v1.2.3