Back to project page EBrowser.
The source code is released under:
GNU General Public License
If you think the Android project EBrowser listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.zirco.ui.runnables; //w ww . ja v a 2s. c o m import org.zirco.providers.BookmarksProviderWrapper; import android.app.Activity; import android.graphics.Bitmap; /** * Runnable to update database favicon. */ public class FaviconUpdaterRunnable implements Runnable { private Activity mActivity; private String mUrl; private String mOriginalUrl; private Bitmap mFavIcon; /** * Constructor. * @param activity The parent activity. * @param url The page url. * @param originalUrl The page original url. * @param favicon The favicon. */ public FaviconUpdaterRunnable(Activity activity, String url, String originalUrl, Bitmap favicon) { mActivity = activity; mUrl = url; mOriginalUrl = originalUrl; mFavIcon = favicon; } @Override public void run() { BookmarksProviderWrapper.updateFavicon(mActivity, mUrl, mOriginalUrl, mFavIcon); } }