diff options
author | John Reck <jreck@google.com> | 2011-07-25 13:55:44 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-07-26 10:37:02 -0700 |
commit | af262e703038106aef2e5187d120617836ffe9ce (patch) | |
tree | 4a3e1a7b6d96d7fe18c7a7234c1ff561f00b5ece /src/com/android/browser/BrowserHistoryPage.java | |
parent | a229f22f88a0ae7a5e6601744c1b37795117bb4f (diff) | |
download | packages_apps_Browser-af262e703038106aef2e5187d120617836ffe9ce.zip packages_apps_Browser-af262e703038106aef2e5187d120617836ffe9ce.tar.gz packages_apps_Browser-af262e703038106aef2e5187d120617836ffe9ce.tar.bz2 |
Remove obsolete usage of WebIconDatabase
Bug: 5019676
Removes some other legacy code
Change-Id: I766d9d6f7805b5619a9769e6d72ae2f4c363d3ed
Diffstat (limited to 'src/com/android/browser/BrowserHistoryPage.java')
-rw-r--r-- | src/com/android/browser/BrowserHistoryPage.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/com/android/browser/BrowserHistoryPage.java b/src/com/android/browser/BrowserHistoryPage.java index 5d106ce..942a8fd 100644 --- a/src/com/android/browser/BrowserHistoryPage.java +++ b/src/com/android/browser/BrowserHistoryPage.java @@ -33,7 +33,6 @@ import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.database.Cursor; import android.database.DataSetObserver; -import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.Drawable; import android.net.Uri; @@ -50,7 +49,6 @@ import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import android.view.ViewStub; -import android.webkit.WebIconDatabase.IconListener; import android.widget.AbsListView; import android.widget.AdapterView; import android.widget.AdapterView.AdapterContextMenuInfo; @@ -86,16 +84,6 @@ public class BrowserHistoryPage extends Fragment private FragmentBreadCrumbs mFragmentBreadCrumbs; private ExpandableListView mHistoryList; - // Implementation of WebIconDatabase.IconListener - class IconReceiver implements IconListener { - @Override - public void onReceivedIcon(String url, Bitmap icon) { - mAdapter.notifyDataSetChanged(); - } - } - - // Instance of IconReceiver - final IconReceiver mIconReceiver = new IconReceiver(); private View mRoot; static interface HistoryQuery { @@ -238,8 +226,6 @@ public class BrowserHistoryPage extends Fragment 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); return mRoot; } @@ -300,7 +286,6 @@ public class BrowserHistoryPage extends Fragment @Override public void onDestroy() { super.onDestroy(); - CombinedBookmarkHistoryView.getIconListenerSet().removeListener(mIconReceiver); getLoaderManager().destroyLoader(LOADER_HISTORY); getLoaderManager().destroyLoader(LOADER_MOST_VISITED); } |