diff --git a/src/acr/browser/lightning/BrowserActivity.java b/src/acr/browser/lightning/BrowserActivity.java index ef9f20f..d1b83a4 100644 --- a/src/acr/browser/lightning/BrowserActivity.java +++ b/src/acr/browser/lightning/BrowserActivity.java @@ -1065,7 +1065,7 @@ public class BrowserActivity extends Activity implements BrowserController { reference.onDestroy(); } else { - if (mCurrentView.getUrl().startsWith(Constants.FILE) + if (mCurrentView.getUrl() == null || mCurrentView.getUrl().startsWith(Constants.FILE) || mCurrentView.getUrl().equals(mHomepage)) { closeActivity(); } else {