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();
|
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…
x
Reference in New Issue
Block a user