mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backout 90d6f7ce0fc2 (bug 920935) not needed anymore (r=backout)
This commit is contained in:
parent
bd9c70f6fd
commit
99fef0334a
@ -37,7 +37,6 @@ import org.json.JSONObject;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.AlertDialog;
|
||||
import android.content.ContentResolver;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.Intent;
|
||||
import android.content.SharedPreferences;
|
||||
@ -1475,15 +1474,6 @@ abstract public class BrowserApp extends GeckoApp
|
||||
return;
|
||||
}
|
||||
|
||||
// If the keywordUrl is in ReadingList, convert the url to an about:reader url and load it.
|
||||
final ContentResolver cr = getContentResolver();
|
||||
final boolean inReadingList = BrowserDB.isReadingListItem(cr, keywordUrl);
|
||||
if (inReadingList) {
|
||||
final String readerUrl = ReaderModeUtils.getAboutReaderForUrl(keywordUrl);
|
||||
Tabs.getInstance().loadUrl(readerUrl, Tabs.LOADURL_USER_ENTERED);
|
||||
return;
|
||||
}
|
||||
|
||||
recordSearch(null, "barkeyword");
|
||||
|
||||
// Otherwise, construct a search query from the bookmark keyword.
|
||||
|
Loading…
Reference in New Issue
Block a user