Skip to content

Commit 9771751

Browse files
Uplift of #5164 (squashed) to release
1 parent 67fd790 commit 9771751

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

android/java/org/chromium/chrome/browser/partnercustomizations/CloseBraveManager.java

-7
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,7 @@
1313
public class CloseBraveManager {
1414
private static final String CLOSING_ALL_TABS_CLOSES_BRAVE = "closing_all_tabs_closes_brave";
1515

16-
// When NTP is set as home page, we don't close brave always.
17-
// Otherwise, follow option value.
1816
public static boolean shouldCloseAppWithZeroTabs() {
19-
if (HomepageManager.isHomepageEnabled() &&
20-
NewTabPage.isNTPUrl(HomepageManager.getHomepageUri())) {
21-
return false;
22-
}
23-
2417
return getClosingAllTabsClosesBraveEnabled();
2518
}
2619

0 commit comments

Comments
 (0)