Browse Source

Fixed crash when deleting blank tab

master
Anthony Restaino 10 years ago
parent
commit
26c16530ad
  1. 2
      src/acr/browser/lightning/BrowserActivity.java

2
src/acr/browser/lightning/BrowserActivity.java

@ -1065,7 +1065,7 @@ public class BrowserActivity extends Activity implements BrowserController {
reference.onDestroy(); reference.onDestroy();
} else { } else {
if (mCurrentView.getUrl().startsWith(Constants.FILE) if (mCurrentView.getUrl() == null || mCurrentView.getUrl().startsWith(Constants.FILE)
|| mCurrentView.getUrl().equals(mHomepage)) { || mCurrentView.getUrl().equals(mHomepage)) {
closeActivity(); closeActivity();
} else { } else {

Loading…
Cancel
Save