@ -1770,6 +1770,7 @@ public class BrowserActivity extends Activity implements BrowserController {
getUrl.setAdapter(mSearchAdapter);
}
@Override
public boolean isIncognito() {
return false;
@ -49,4 +49,6 @@ public interface BrowserController {
public boolean isActionBarShowing();
public void closeEmptyTab();
public boolean isIncognito();
@ -844,6 +844,9 @@ public class LightningView {
public boolean shouldOverrideUrlLoading(WebView view, String url) {
if (mBrowserController.isIncognito()) {
return super.shouldOverrideUrlLoading(view, url);
if (url.startsWith("about:")) {