Bug 843851 - Use GeckoAppShell main handler for AllPagesTab UiAsyncTask. r=mfinkle

This commit is contained in:
Brian Nicholson 2013-02-22 09:12:15 -08:00
parent 4bd2d83991
commit fdcddcba33

View File

@ -821,7 +821,7 @@ public class AllPagesTab extends AwesomeBarTab implements GeckoEventListener {
if (urls.size() == 0)
return;
(new UiAsyncTask<Void, Void, Cursor>(getView().getHandler(), GeckoAppShell.getHandler()) {
(new UiAsyncTask<Void, Void, Cursor>(GeckoAppShell.getMainHandler(), GeckoAppShell.getHandler()) {
@Override
public Cursor doInBackground(Void... params) {
return BrowserDB.getFaviconsForUrls(getContentResolver(), urls);