diff --git a/app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java b/app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java index 9996aa3..06cc35a 100644 --- a/app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java +++ b/app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java @@ -1099,7 +1099,7 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements return true; } - private void closeBrowser() { + public void closeBrowser() { mBrowserFrame.setBackgroundColor(mBackgroundColor); performExitCleanUp(); mTabsManager.shutdown(); diff --git a/app/src/main/java/acr/browser/lightning/activity/IncognitoActivity.java b/app/src/main/java/acr/browser/lightning/activity/IncognitoActivity.java index 185dff5..2ea3968 100644 --- a/app/src/main/java/acr/browser/lightning/activity/IncognitoActivity.java +++ b/app/src/main/java/acr/browser/lightning/activity/IncognitoActivity.java @@ -58,7 +58,6 @@ public class IncognitoActivity extends BrowserActivity { @Override public void closeActivity() { closeDrawers(); - performExitCleanUp(); - finish(); + closeBrowser(); } }