Fixed crash when deleting blank tab
This commit is contained in:
parent
9f3107c486
commit
26c16530ad
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user