Bug 907172 - Periodically invalidate the cached return value for desktopBookmarksExist(). r=lucasr

This commit is contained in:
Margaret Leibovic 2013-08-21 11:34:16 -07:00
parent 283b3c54ef
commit e52efd6ee6

View File

@ -149,6 +149,10 @@ public class BookmarksPage extends HomeFragment {
});
mList.setAdapter(mListAdapter);
// Invalidate the cached value that keeps track of whether or
// not desktop bookmarks (or reading list items) exist.
BrowserDB.invalidateCachedState();
// Create callbacks before the initial loader is started.
mLoaderCallbacks = new CursorLoaderCallbacks(activity, getLoaderManager());
mThumbnailsLoaderCallbacks = new ThumbnailsLoaderCallbacks();