30 lines
1.4 KiB
Diff
30 lines
1.4 KiB
Diff
|
From: csagan5 <32685696+csagan5@users.noreply.github.com>
|
||
|
Date: Wed, 27 Jun 2018 11:02:38 +0200
|
||
|
Subject: Always use new tab page for default home page
|
||
|
|
||
|
Ignore any partner-provided home page.
|
||
|
|
||
|
License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
|
||
|
Change-Id: If9da4e34c5cf72ffc00e08934e72c3120b2ce27a
|
||
|
---
|
||
|
.../org/chromium/chrome/browser/homepage/HomepageManager.java | 4 ----
|
||
|
1 file changed, 4 deletions(-)
|
||
|
|
||
|
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/homepage/HomepageManager.java b/chrome/android/java/src/org/chromium/chrome/browser/homepage/HomepageManager.java
|
||
|
--- a/chrome/android/java/src/org/chromium/chrome/browser/homepage/HomepageManager.java
|
||
|
+++ b/chrome/android/java/src/org/chromium/chrome/browser/homepage/HomepageManager.java
|
||
|
@@ -151,10 +151,6 @@ public class HomepageManager implements HomepagePolicyManager.HomepagePolicyStat
|
||
|
* if the homepage button is force enabled via flag.
|
||
|
*/
|
||
|
public static String getDefaultHomepageUri() {
|
||
|
- if (PartnerBrowserCustomizations.getInstance().isHomepageProviderAvailableAndEnabled()) {
|
||
|
- return PartnerBrowserCustomizations.getInstance().getHomePageUrl().getSpec();
|
||
|
- }
|
||
|
-
|
||
|
String homepagePartnerDefaultUri;
|
||
|
String homepagePartnerDefaultGurlSerialized =
|
||
|
SharedPreferencesManager.getInstance().readString(
|
||
|
--
|
||
|
2.40.1
|
||
|
|