From d422c6e73434892d9009733cbb7aa55d4b42a35d Mon Sep 17 00:00:00 2001 From: althafvly Date: Mon, 20 Feb 2023 07:41:48 +0000 Subject: [PATCH 1/2] Browser: Update bromite to latest changes --- bromite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bromite b/bromite index a0daaacf..6f40f834 160000 --- a/bromite +++ b/bromite @@ -1 +1 @@ -Subproject commit a0daaacf6dc55b692fdff58a982dd63e97ab7be6 +Subproject commit 6f40f8341ab3fbcab458c10fe7b6bbcb8f881404 -- GitLab From af47be76ac82c230ca6fda8b1c5d6f6a7d256089 Mon Sep 17 00:00:00 2001 From: althafvly Date: Mon, 20 Feb 2023 07:42:58 +0000 Subject: [PATCH 2/2] Browser: Remove about entries and revert bromite UA impl --- build/e_patches_list.txt | 4 +- ...01-add-trichrome-browser-apk-targets.patch | 6 +- ...romium-Add-32-bit-chrome-app-support.patch | 6 +- ...ange-app-and-package-name-to-browser.patch | 6 +- ...r-Point-to-our-default-popular-sites.patch | 6 +- ...owser-Enable-do-not-track-by-default.patch | 6 +- ...vider-to-share-default-search-engine.patch | 6 +- ...rowser-Enable-custom-tabs-by-default.patch | 6 +- ...-Enable-search-suggestion-by-default.patch | 6 +- ...rowser-Modify-default-search-engines.patch | 6 +- ...-Redirect-users-to-e-foundation-docs.patch | 6 +- ...Block-gateway-attacks-via-websockets.patch | 6 +- .../0012-Add-Mojeek-Search-engine.patch | 6 +- .../0013-Revert-TM-Add-themed-app-icons.patch | 6 +- ...wser-Use-our-custom-icon-for-browser.patch | 6 +- ...-Browser-Remove-bromite-auto-updater.patch | 10 +-- ...16-Browser-Rename-strings-to-browser.patch | 6 +- ...ser-Use-adaptive-icon-for-recents-UI.patch | 6 +- .../0018-Browser-Change-info-bar-icon.patch | 6 +- ...wser-Remove-logo-from-chrome-version.patch | 6 +- ...Browser-disable-search-provider-logo.patch | 6 +- ...owser-disable-first-run-welcome-page.patch | 6 +- ...0022-disable-seed-based-field-trials.patch | 6 +- .../0023-disable-fetching-variations.patch | 6 +- ...vigation-error-correction-by-default.patch | 6 +- ...-Handle-web-search-action-in-browser.patch | 6 +- ...r-Enable-unified-autoplay-by-default.patch | 6 +- ...-Browser-Replace-default-tab-favicon.patch | 6 +- ...-and-switch-according-to-our-palette.patch | 6 +- ...Browser-Spoof-as-Pixel-4a-by-default.patch | 4 +- ...evert-Guard-for-user-agent-reduction.patch | 73 +++++++++++++++++++ ...h => 0031-Remove-webGL-site-setting.patch} | 4 +- ...ser-Remove-broken-link-about-entries.patch | 33 +++++++++ 33 files changed, 199 insertions(+), 91 deletions(-) create mode 100644 build/patches/0030-Partial-Revert-Guard-for-user-agent-reduction.patch rename build/patches/{0030-Remove-webGL-site-setting.patch => 0031-Remove-webGL-site-setting.patch} (99%) create mode 100644 build/patches/0032-Browser-Remove-broken-link-about-entries.patch diff --git a/build/e_patches_list.txt b/build/e_patches_list.txt index f099817a..45ae1bc0 100644 --- a/build/e_patches_list.txt +++ b/build/e_patches_list.txt @@ -27,4 +27,6 @@ 0027-Browser-Replace-default-tab-favicon.patch 0028-Change-accent-and-switch-according-to-our-palette.patch 0029-Browser-Spoof-as-Pixel-4a-by-default.patch -0030-Remove-webGL-site-setting.patch +0030-Partial-Revert-Guard-for-user-agent-reduction.patch +0031-Remove-webGL-site-setting.patch +0032-Browser-Remove-broken-link-about-entries.patch diff --git a/build/patches/0001-add-trichrome-browser-apk-targets.patch b/build/patches/0001-add-trichrome-browser-apk-targets.patch index 57f5ca04..6cef6658 100644 --- a/build/patches/0001-add-trichrome-browser-apk-targets.patch +++ b/build/patches/0001-add-trichrome-browser-apk-targets.patch @@ -1,7 +1,7 @@ -From dae09edf229315345695e454c2e1e3cb5e7faecf Mon Sep 17 00:00:00 2001 +From 9434796b9ccfb96e86bae3457d29abba370252b3 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 27 May 2021 07:30:02 -0400 -Subject: [PATCH 01/27] add trichrome browser apk targets +Subject: [PATCH 01/32] add trichrome browser apk targets --- chrome/android/BUILD.gn | 61 ++++++++++++++++++++++++++++++++++++++++- @@ -94,5 +94,5 @@ index 8cd50c454b578..505b23eafe956 100644 chrome_public_unit_test_apk_manifest = "$root_gen_dir/chrome_public_unit_test_apk_manifest/AndroidManifest.xml" -- -2.34.1 +2.25.1 diff --git a/build/patches/0002-chromium-Add-32-bit-chrome-app-support.patch b/build/patches/0002-chromium-Add-32-bit-chrome-app-support.patch index 233deaa0..c62889f4 100644 --- a/build/patches/0002-chromium-Add-32-bit-chrome-app-support.patch +++ b/build/patches/0002-chromium-Add-32-bit-chrome-app-support.patch @@ -1,7 +1,7 @@ -From cfb0825637504da4d32a8192b2b396c0351fcc03 Mon Sep 17 00:00:00 2001 +From 093063f8b9d4ff88fe54654fef4a45d995989f5f Mon Sep 17 00:00:00 2001 From: TheScarastic Date: Fri, 2 Dec 2022 10:10:43 +0000 -Subject: [PATCH 02/27] chromium: Add 32 bit chrome app support +Subject: [PATCH 02/32] chromium: Add 32 bit chrome app support --- chrome/android/BUILD.gn | 17 +++++++++++++++++ @@ -36,5 +36,5 @@ index 505b23eafe956..56184de03d546 100644 chrome_public_unit_test_apk_manifest = -- -2.34.1 +2.25.1 diff --git a/build/patches/0003-Browser-Change-app-and-package-name-to-browser.patch b/build/patches/0003-Browser-Change-app-and-package-name-to-browser.patch index b25210cb..2cd3cec7 100644 --- a/build/patches/0003-Browser-Change-app-and-package-name-to-browser.patch +++ b/build/patches/0003-Browser-Change-app-and-package-name-to-browser.patch @@ -1,7 +1,7 @@ -From bc1e7e279dc4cf69c4b1e6d2cdec76a093d8a02c Mon Sep 17 00:00:00 2001 +From b95f759af6b2d1b9dbd55f65ab106a5b0f0c2d42 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Fri, 26 Nov 2021 05:39:25 +0000 -Subject: [PATCH 03/27] Browser: Change app and package name to browser +Subject: [PATCH 03/32] Browser: Change app and package name to browser Signed-off-by: Aayush Gupta --- @@ -28,5 +28,5 @@ index b475689e9d23f..02570e169e128 100644 + Browser dino -- -2.34.1 +2.25.1 diff --git a/build/patches/0004-Browser-Point-to-our-default-popular-sites.patch b/build/patches/0004-Browser-Point-to-our-default-popular-sites.patch index d88546c5..41fbb7dc 100644 --- a/build/patches/0004-Browser-Point-to-our-default-popular-sites.patch +++ b/build/patches/0004-Browser-Point-to-our-default-popular-sites.patch @@ -1,7 +1,7 @@ -From 3bce973d3af819c6264a4bb27ee48dc92341b8f3 Mon Sep 17 00:00:00 2001 +From 582a45491b747b32da7ba3d4e08f7985a8f13abb Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Fri, 26 Nov 2021 07:29:59 +0000 -Subject: [PATCH 04/27] Browser: Point to our default popular sites +Subject: [PATCH 04/32] Browser: Point to our default popular sites Signed-off-by: Aayush Gupta --- @@ -47,5 +47,5 @@ index cca535df51c79..493adc3d1809b 100644 -- -2.34.1 +2.25.1 diff --git a/build/patches/0005-Browser-Enable-do-not-track-by-default.patch b/build/patches/0005-Browser-Enable-do-not-track-by-default.patch index d98d096e..479f76af 100644 --- a/build/patches/0005-Browser-Enable-do-not-track-by-default.patch +++ b/build/patches/0005-Browser-Enable-do-not-track-by-default.patch @@ -1,7 +1,7 @@ -From 696a7a3e831b7f4d1464969ca7ec6192d1414b87 Mon Sep 17 00:00:00 2001 +From 32c40c6998aa1124e7f764cb7c1cd02f3c8d0619 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Fri, 26 Nov 2021 07:34:57 +0000 -Subject: [PATCH 05/27] Browser: Enable do not track by default +Subject: [PATCH 05/32] Browser: Enable do not track by default Signed-off-by: Aayush Gupta --- @@ -22,5 +22,5 @@ index 88886f2cf0957..0c4af51d144ac 100644 #if !BUILDFLAG(IS_CHROMEOS_ASH) && !BUILDFLAG(IS_ANDROID) registry->RegisterBooleanPref(prefs::kPrintPreviewUseSystemDefaultPrinter, -- -2.34.1 +2.25.1 diff --git a/build/patches/0006-Browser-Add-provider-to-share-default-search-engine.patch b/build/patches/0006-Browser-Add-provider-to-share-default-search-engine.patch index 0f13d6cb..2c203d7e 100644 --- a/build/patches/0006-Browser-Add-provider-to-share-default-search-engine.patch +++ b/build/patches/0006-Browser-Add-provider-to-share-default-search-engine.patch @@ -1,7 +1,7 @@ -From 5a1596d749aa782f927cc062b0ee09ef4f939983 Mon Sep 17 00:00:00 2001 +From 5ba0cf7d4907083b0c8f4f4ae5692d2b15c40e0a Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Fri, 26 Nov 2021 08:03:13 +0000 -Subject: [PATCH 06/27] Browser: Add provider to share default search engine +Subject: [PATCH 06/32] Browser: Add provider to share default search engine Signed-off-by: Aayush Gupta --- @@ -123,5 +123,5 @@ index ad878ad3c0772..d455bd4958d28 100644 chrome_java_sources += userscripts_java_sources +chrome_java_sources += [ "java/src/org/chromium/chrome/browser/provider/SearchEngineProvider.java" ] -- -2.34.1 +2.25.1 diff --git a/build/patches/0007-Browser-Enable-custom-tabs-by-default.patch b/build/patches/0007-Browser-Enable-custom-tabs-by-default.patch index 6b5c0715..f553430a 100644 --- a/build/patches/0007-Browser-Enable-custom-tabs-by-default.patch +++ b/build/patches/0007-Browser-Enable-custom-tabs-by-default.patch @@ -1,7 +1,7 @@ -From ada6d4bceee8d87a35164e02cb261db70a5e1cf6 Mon Sep 17 00:00:00 2001 +From efbf350975a1247b7b7b7b27dda2443d08f7f2d1 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Mon, 29 Nov 2021 03:37:37 +0000 -Subject: [PATCH 07/27] Browser: Enable custom tabs by default +Subject: [PATCH 07/32] Browser: Enable custom tabs by default Signed-off-by: Aayush Gupta --- @@ -22,5 +22,5 @@ index 08947e42fd390..d5f6ad4c5b79c 100644 android:key="open_external_links_incognito" android:title="@string/open_external_links_incognito_title" -- -2.34.1 +2.25.1 diff --git a/build/patches/0008-Browser-Enable-search-suggestion-by-default.patch b/build/patches/0008-Browser-Enable-search-suggestion-by-default.patch index 339cce49..7e580d88 100644 --- a/build/patches/0008-Browser-Enable-search-suggestion-by-default.patch +++ b/build/patches/0008-Browser-Enable-search-suggestion-by-default.patch @@ -1,7 +1,7 @@ -From c314e165ce13e5ad740562f316f9db68a4507fdf Mon Sep 17 00:00:00 2001 +From 3f6ebd873919e41786bcd5961e939995acc3f03a Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Mon, 29 Nov 2021 03:39:21 +0000 -Subject: [PATCH 08/27] Browser: Enable search suggestion by default +Subject: [PATCH 08/32] Browser: Enable search suggestion by default Signed-off-by: Aayush Gupta --- @@ -22,5 +22,5 @@ index 8309bc84cdf96..a82af67cd3afb 100644 #if BUILDFLAG(IS_ANDROID) registry->RegisterStringPref( -- -2.34.1 +2.25.1 diff --git a/build/patches/0009-Browser-Modify-default-search-engines.patch b/build/patches/0009-Browser-Modify-default-search-engines.patch index 41f5e6b1..84739764 100644 --- a/build/patches/0009-Browser-Modify-default-search-engines.patch +++ b/build/patches/0009-Browser-Modify-default-search-engines.patch @@ -1,7 +1,7 @@ -From f277859029e1eb95226c8eec0d2f9131f8f92ad9 Mon Sep 17 00:00:00 2001 +From 3f3229013d32b4c3c0bd9fbfe1563998cb643130 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Thu, 18 Mar 2021 13:42:44 +0100 -Subject: [PATCH 09/27] Browser: Modify default search engines +Subject: [PATCH 09/32] Browser: Modify default search engines Signed-off-by: Aayush Gupta Signed-off-by: althafvly @@ -1286,5 +1286,5 @@ index 1793112831534..c315742c982b7 100644 itr == t_urls.end() ? 0 : std::distance(t_urls.begin(), itr); } -- -2.34.1 +2.25.1 diff --git a/build/patches/0010-Browser-Redirect-users-to-e-foundation-docs.patch b/build/patches/0010-Browser-Redirect-users-to-e-foundation-docs.patch index e68aba24..f91fed7d 100644 --- a/build/patches/0010-Browser-Redirect-users-to-e-foundation-docs.patch +++ b/build/patches/0010-Browser-Redirect-users-to-e-foundation-docs.patch @@ -1,7 +1,7 @@ -From 039cb1504a5ae44e95b9fff80e6ac7ae50d6fb5d Mon Sep 17 00:00:00 2001 +From f95313812154b19abdcd67414a09b5c134fe35e7 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Tue, 11 May 2021 14:22:00 +0200 -Subject: [PATCH 10/27] Browser: Redirect users to e foundation docs +Subject: [PATCH 10/32] Browser: Redirect users to e foundation docs Signed-off-by: Aayush Gupta --- @@ -22,5 +22,5 @@ index 223815ed97a00..c3e3a347917a8 100644 private static HelpAndFeedbackLauncher sInstance; -- -2.34.1 +2.25.1 diff --git a/build/patches/0011-Revert-Block-gateway-attacks-via-websockets.patch b/build/patches/0011-Revert-Block-gateway-attacks-via-websockets.patch index 224a9369..dbb35aa2 100644 --- a/build/patches/0011-Revert-Block-gateway-attacks-via-websockets.patch +++ b/build/patches/0011-Revert-Block-gateway-attacks-via-websockets.patch @@ -1,7 +1,7 @@ -From 6c2f3914f07d6a6449b8586213af3cc2bb5c46c2 Mon Sep 17 00:00:00 2001 +From a68b7193ef91f6479ad3c512311b2d3493bc3061 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Tue, 22 Mar 2022 08:34:04 +0000 -Subject: [PATCH 11/27] Revert "Block gateway attacks via websockets" +Subject: [PATCH 11/32] Revert "Block gateway attacks via websockets" This reverts commit eed9daba155d6440f85a55d4ebbf4da3914eedde. --- @@ -228,5 +228,5 @@ index 7f0cdf10d9732..ed3d0daade26f 100644 // Returns true if |protocol| is a valid WebSocket subprotocol name. -- -2.34.1 +2.25.1 diff --git a/build/patches/0012-Add-Mojeek-Search-engine.patch b/build/patches/0012-Add-Mojeek-Search-engine.patch index edd4dcd5..1b5e5f3f 100644 --- a/build/patches/0012-Add-Mojeek-Search-engine.patch +++ b/build/patches/0012-Add-Mojeek-Search-engine.patch @@ -1,7 +1,7 @@ -From edb2c2a776c03ac2a4160c515237f67cddb7f5a0 Mon Sep 17 00:00:00 2001 +From f37d2a68802c3dd088c599eada4e0b7a736747bd Mon Sep 17 00:00:00 2001 From: TheScarastic Date: Wed, 16 Nov 2022 11:14:01 +0000 -Subject: [PATCH 12/27] Add Mojeek Search engine +Subject: [PATCH 12/32] Add Mojeek Search engine --- .../search_engines/prepopulated_engines.json | 10 + @@ -701,5 +701,5 @@ index c315742c982b7..2f71c9ca0873e 100644 // clang-format on -- -2.34.1 +2.25.1 diff --git a/build/patches/0013-Revert-TM-Add-themed-app-icons.patch b/build/patches/0013-Revert-TM-Add-themed-app-icons.patch index 57854f0e..f7a7b55e 100644 --- a/build/patches/0013-Revert-TM-Add-themed-app-icons.patch +++ b/build/patches/0013-Revert-TM-Add-themed-app-icons.patch @@ -1,7 +1,7 @@ -From ac93e209835b2a07c10c95987542c3ee7485fcfa Mon Sep 17 00:00:00 2001 +From fca738c7dff81ee0fc6edaa37428adefd12111b9 Mon Sep 17 00:00:00 2001 From: althafvly Date: Fri, 18 Nov 2022 09:48:02 +0000 -Subject: [PATCH 13/27] Revert "[TM] Add themed app icons" +Subject: [PATCH 13/32] Revert "[TM] Add themed app icons" This reverts commit 9faa242a0c09838268d7c969acdf493f29ef3db5. --- @@ -88,5 +88,5 @@ index 32a95bc6ee4d5..0000000000000 - - -- -2.34.1 +2.25.1 diff --git a/build/patches/0014-Browser-Use-our-custom-icon-for-browser.patch b/build/patches/0014-Browser-Use-our-custom-icon-for-browser.patch index ed272c7d..89bfc1b8 100644 --- a/build/patches/0014-Browser-Use-our-custom-icon-for-browser.patch +++ b/build/patches/0014-Browser-Use-our-custom-icon-for-browser.patch @@ -1,7 +1,7 @@ -From 9ba0039b9a36f22a7dbab3779fbd2697c666090d Mon Sep 17 00:00:00 2001 +From 8279042070e81f94bda0e1359511aa9ae86bf8b1 Mon Sep 17 00:00:00 2001 From: althafvly Date: Fri, 18 Nov 2022 10:07:39 +0000 -Subject: [PATCH 14/27] Browser: Use our custom icon for browser +Subject: [PATCH 14/32] Browser: Use our custom icon for browser --- chrome/android/BUILD.gn | 44 ++++++++++-------- @@ -4698,5 +4698,5 @@ ziX3Zii>!u*1dR~FSyVyd3+noigB2=6p$s|4{3~J0nc1l tdut*}grj`V29}Y}07*$nNl8fw%zrQGe_>mJPA~uf002ovPDHLkV1ksNn#%wH -- -2.34.1 +2.25.1 diff --git a/build/patches/0015-Browser-Remove-bromite-auto-updater.patch b/build/patches/0015-Browser-Remove-bromite-auto-updater.patch index 2c3b51d2..130482b6 100644 --- a/build/patches/0015-Browser-Remove-bromite-auto-updater.patch +++ b/build/patches/0015-Browser-Remove-bromite-auto-updater.patch @@ -1,7 +1,7 @@ -From 16b585f43de105faf0298e21dbdd9a969b9af5a3 Mon Sep 17 00:00:00 2001 +From 18d8410f33dbdfcf32e6c4687a6c85a50e6c1e82 Mon Sep 17 00:00:00 2001 From: althafvly Date: Mon, 12 Dec 2022 13:48:01 +0530 -Subject: [PATCH 15/27] Browser: Remove bromite auto updater +Subject: [PATCH 15/32] Browser: Remove bromite auto updater --- .../java/templates/BuildConfig.template | 2 - @@ -1396,14 +1396,14 @@ index 9e77e3cf4e67c..37d886546c10d 100644 "LensCameraAssistedSearch", base::FEATURE_ENABLED_BY_DEFAULT); diff --git a/chrome/browser/flags/android/chrome_feature_list.h b/chrome/browser/flags/android/chrome_feature_list.h -index f0489a782c36e..6d1ec55144c7d 100644 +index d477e6979c861..2ca0d0dd2f5f0 100644 --- a/chrome/browser/flags/android/chrome_feature_list.h +++ b/chrome/browser/flags/android/chrome_feature_list.h @@ -94,7 +94,6 @@ BASE_DECLARE_FEATURE(kGridTabSwitcherForTablets); BASE_DECLARE_FEATURE(kHandleMediaIntents); BASE_DECLARE_FEATURE(kImmersiveUiMode); BASE_DECLARE_FEATURE(kIncognitoReauthenticationForAndroid); --extern const base::Feature kInlineUpdateFlow; +-BASE_DECLARE_FEATURE(kInlineUpdateFlow); BASE_DECLARE_FEATURE(kIncognitoScreenshot); BASE_DECLARE_FEATURE(kInfobarScrollOptimization); BASE_DECLARE_FEATURE(kImprovedA2HS); @@ -1722,5 +1722,5 @@ index b3d9a1804f6bf..6616c3d8a48b6 100644 }; -- -2.34.1 +2.25.1 diff --git a/build/patches/0016-Browser-Rename-strings-to-browser.patch b/build/patches/0016-Browser-Rename-strings-to-browser.patch index 95bbda60..aab1f0ea 100644 --- a/build/patches/0016-Browser-Rename-strings-to-browser.patch +++ b/build/patches/0016-Browser-Rename-strings-to-browser.patch @@ -1,7 +1,7 @@ -From 3b278e752633eece276693a15886c2bfc62a3534 Mon Sep 17 00:00:00 2001 +From 6f9ee7efef872c5d6b4c22c797e05e2e2b5f503b Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Fri, 26 Nov 2021 07:12:30 +0000 -Subject: [PATCH 16/27] Browser: Rename strings to browser +Subject: [PATCH 16/32] Browser: Rename strings to browser Signed-off-by: Aayush Gupta --- @@ -186,7 +186,7 @@ index d73a204b18ee8..3b272900df2e8 100644 diff --git a/chrome/browser/ui/android/strings/foundation_e.grdp b/chrome/browser/ui/android/strings/foundation_e.grdp new file mode 100644 -index 0000000000000..20ba175d6cc64 +index 0000000000000..4a1cb69ff7c46 --- /dev/null +++ b/chrome/browser/ui/android/strings/foundation_e.grdp @@ -0,0 +1,49 @@ diff --git a/build/patches/0017-Browser-Use-adaptive-icon-for-recents-UI.patch b/build/patches/0017-Browser-Use-adaptive-icon-for-recents-UI.patch index 564a67f4..035b5eff 100644 --- a/build/patches/0017-Browser-Use-adaptive-icon-for-recents-UI.patch +++ b/build/patches/0017-Browser-Use-adaptive-icon-for-recents-UI.patch @@ -1,7 +1,7 @@ -From 9c4efd8445a1c5e86ebc8c0667cb0e4845f5cdd0 Mon Sep 17 00:00:00 2001 +From 58d5a7e1cc5be9b948b0ca5bb81b36714a64cb40 Mon Sep 17 00:00:00 2001 From: althafvly Date: Wed, 14 Dec 2022 12:18:50 +0530 -Subject: [PATCH 17/27] Browser: Use adaptive icon for recents UI +Subject: [PATCH 17/32] Browser: Use adaptive icon for recents UI --- .../chromium/chrome/browser/ChromeBaseAppCompatActivity.java | 2 +- @@ -21,5 +21,5 @@ index a977fef261d3a..95ee002b2f0e2 100644 setTaskDescription(taskDescription); } -- -2.34.1 +2.25.1 diff --git a/build/patches/0018-Browser-Change-info-bar-icon.patch b/build/patches/0018-Browser-Change-info-bar-icon.patch index 8675afd6..680da121 100644 --- a/build/patches/0018-Browser-Change-info-bar-icon.patch +++ b/build/patches/0018-Browser-Change-info-bar-icon.patch @@ -1,7 +1,7 @@ -From 3d90dd28635676af7fbe1e2f25676a92b9e8ea25 Mon Sep 17 00:00:00 2001 +From 41dc5b8a4c71cedee0a87e6750014a9c1aca596f Mon Sep 17 00:00:00 2001 From: althafvly Date: Wed, 14 Dec 2022 16:17:58 +0530 -Subject: [PATCH 18/27] Browser: Change info bar icon +Subject: [PATCH 18/32] Browser: Change info bar icon --- .../java/res/drawable-hdpi/infobar_chrome.png | Bin 644 -> 1450 bytes @@ -446,5 +446,5 @@ z$U&>{W}dNWjvknSc|3JAhOI(5if{~h*o1``iOleJwxKY9Fn~}PKo~$M3?K|36b29^ Z{{Zvg1542bS3m#&002ovPDHLkV1g(d590s; -- -2.34.1 +2.25.1 diff --git a/build/patches/0019-Browser-Remove-logo-from-chrome-version.patch b/build/patches/0019-Browser-Remove-logo-from-chrome-version.patch index dfe940ad..566d638f 100644 --- a/build/patches/0019-Browser-Remove-logo-from-chrome-version.patch +++ b/build/patches/0019-Browser-Remove-logo-from-chrome-version.patch @@ -1,7 +1,7 @@ -From ee1c53f47dcf2a697e39c23dd128d666a94f0549 Mon Sep 17 00:00:00 2001 +From ceb9f1a2057c7c9242f302994f1fac72149facd5 Mon Sep 17 00:00:00 2001 From: A Mak Date: Sat, 25 Jul 2020 17:56:47 -0700 -Subject: [PATCH 19/27] Browser: Remove logo from chrome://version +Subject: [PATCH 19/32] Browser: Remove logo from chrome://version --- components/version_ui/resources/about_version.html | 7 ------- @@ -26,5 +26,5 @@ index 51b3288e0385e..055eca2368a8c 100644
$i18n{company}
-- -2.34.1 +2.25.1 diff --git a/build/patches/0020-Browser-disable-search-provider-logo.patch b/build/patches/0020-Browser-disable-search-provider-logo.patch index 138ef3ee..5f921424 100644 --- a/build/patches/0020-Browser-disable-search-provider-logo.patch +++ b/build/patches/0020-Browser-disable-search-provider-logo.patch @@ -1,7 +1,7 @@ -From b44a705bfc6f38f1ddc49c973cfc0e9778f7a737 Mon Sep 17 00:00:00 2001 +From 871ca863add6cd1aceb9b4f2af66a051ea3eef88 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 17 Jun 2019 12:03:52 -0400 -Subject: [PATCH 20/27] Browser: disable search provider logo +Subject: [PATCH 20/32] Browser: disable search provider logo --- .../android/template_url_service_android.cc | 23 +------------------ @@ -42,5 +42,5 @@ index 3e83bb613f3ce..ac4cb1ab8f148 100644 jboolean TemplateUrlServiceAndroid::IsDefaultSearchEngineGoogle( -- -2.34.1 +2.25.1 diff --git a/build/patches/0021-Browser-disable-first-run-welcome-page.patch b/build/patches/0021-Browser-disable-first-run-welcome-page.patch index adb313e4..10e84fd0 100644 --- a/build/patches/0021-Browser-disable-first-run-welcome-page.patch +++ b/build/patches/0021-Browser-disable-first-run-welcome-page.patch @@ -1,7 +1,7 @@ -From 62989d1a3ad18f768b5ae0464b28ef5dd0d0fe55 Mon Sep 17 00:00:00 2001 +From e0b534cfcf7d950a9d00401fab9c86fb37cfde0f Mon Sep 17 00:00:00 2001 From: csagan5 <32685696+csagan5@users.noreply.github.com> Date: Sun, 26 Nov 2017 22:51:43 +0100 -Subject: [PATCH 21/27] Browser: disable first run welcome page +Subject: [PATCH 21/32] Browser: disable first run welcome page --- .../org/chromium/chrome/browser/firstrun/FirstRunUtils.java | 3 --- @@ -47,5 +47,5 @@ index 46536c7cdd988..59d5c8d322e1f 100644 /** -- -2.34.1 +2.25.1 diff --git a/build/patches/0022-disable-seed-based-field-trials.patch b/build/patches/0022-disable-seed-based-field-trials.patch index 25a911c3..27b54457 100644 --- a/build/patches/0022-disable-seed-based-field-trials.patch +++ b/build/patches/0022-disable-seed-based-field-trials.patch @@ -1,7 +1,7 @@ -From fffe96f9fb2df62e0174022f38f3a75fbb1859c3 Mon Sep 17 00:00:00 2001 +From b1e6c886c21153c89b893fb26232cb84be0f61b1 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 25 Dec 2018 16:19:51 -0500 -Subject: [PATCH 22/27] disable seed-based field trials +Subject: [PATCH 22/32] disable seed-based field trials --- components/variations/service/variations_field_trial_creator.cc | 2 ++ @@ -23,5 +23,5 @@ index 25e640e2109cb..19752025ff80e 100644 platform_field_trials->SetUpFeatureControllingFieldTrials( -- -2.34.1 +2.25.1 diff --git a/build/patches/0023-disable-fetching-variations.patch b/build/patches/0023-disable-fetching-variations.patch index 483d88aa..de021b91 100644 --- a/build/patches/0023-disable-fetching-variations.patch +++ b/build/patches/0023-disable-fetching-variations.patch @@ -1,7 +1,7 @@ -From d01a3478804f40bed66ac68f1f0ee72f38a88954 Mon Sep 17 00:00:00 2001 +From 8fce38a4be3edaf4af4425afa88bcd042f529222 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 18 Nov 2020 19:08:58 -0500 -Subject: [PATCH 23/27] disable fetching variations +Subject: [PATCH 23/32] disable fetching variations --- .../org/chromium/chrome/browser/init/AsyncInitTaskRunner.java | 2 +- @@ -21,5 +21,5 @@ index 34086333702a2..97b30ad10d53d 100644 @VisibleForTesting -- -2.34.1 +2.25.1 diff --git a/build/patches/0024-disable-navigation-error-correction-by-default.patch b/build/patches/0024-disable-navigation-error-correction-by-default.patch index d2cb9b9a..cdddd214 100644 --- a/build/patches/0024-disable-navigation-error-correction-by-default.patch +++ b/build/patches/0024-disable-navigation-error-correction-by-default.patch @@ -1,7 +1,7 @@ -From c2f221f70a1683926c617588f83586a0b6d86002 Mon Sep 17 00:00:00 2001 +From 542078ced8cc473a7a050c2d3d03a4d4cb0fcaad Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 23 Nov 2016 08:29:58 -0500 -Subject: [PATCH 24/27] disable navigation error correction by default +Subject: [PATCH 24/32] disable navigation error correction by default --- chrome/browser/net/profile_network_context_service.cc | 2 +- @@ -21,5 +21,5 @@ index efebd1c7cfc1e..73cdcef8303fe 100644 registry->RegisterBooleanPref(prefs::kQuicAllowed, true); registry->RegisterBooleanPref(prefs::kGloballyScopeHTTPAuthCacheEnabled, -- -2.34.1 +2.25.1 diff --git a/build/patches/0025-Handle-web-search-action-in-browser.patch b/build/patches/0025-Handle-web-search-action-in-browser.patch index 347803ce..3eeaaef2 100644 --- a/build/patches/0025-Handle-web-search-action-in-browser.patch +++ b/build/patches/0025-Handle-web-search-action-in-browser.patch @@ -1,7 +1,7 @@ -From f27efdd74f376f519eff742fd14d22e71ac5cd74 Mon Sep 17 00:00:00 2001 +From 00674f822043dbd5bedb3b3d0101c5086b408994 Mon Sep 17 00:00:00 2001 From: fgei Date: Wed, 28 Sep 2022 05:37:00 +0200 -Subject: [PATCH 25/27] Handle web search action in browser +Subject: [PATCH 25/32] Handle web search action in browser --- .../src/org/chromium/base/PackageManagerUtils.java | 10 ++++++++++ @@ -72,5 +72,5 @@ index 616610a03e784..b011598c34b0d 100644 mActivity.startActivity(searchIntent); } else { -- -2.34.1 +2.25.1 diff --git a/build/patches/0026-Browser-Enable-unified-autoplay-by-default.patch b/build/patches/0026-Browser-Enable-unified-autoplay-by-default.patch index bf540862..bdd43a89 100644 --- a/build/patches/0026-Browser-Enable-unified-autoplay-by-default.patch +++ b/build/patches/0026-Browser-Enable-unified-autoplay-by-default.patch @@ -1,7 +1,7 @@ -From a50d4534b2632a6ef471ac7feb913308a846f3f9 Mon Sep 17 00:00:00 2001 +From 3f41a832c3362a71b6f761bf3fddd578d59ba3e8 Mon Sep 17 00:00:00 2001 From: althafvly Date: Mon, 2 Jan 2023 11:43:30 +0530 -Subject: [PATCH 26/27] Browser: Enable unified autoplay by default +Subject: [PATCH 26/32] Browser: Enable unified autoplay by default --- .../browser_ui/site_settings/SingleWebsiteSettings.java | 6 +----- @@ -39,5 +39,5 @@ index 3200dddb8904a..e50d13c335fdf 100644 ValidSettings(CONTENT_SETTING_ALLOW, CONTENT_SETTING_BLOCK), WebsiteSettingsInfo::TOP_ORIGIN_ONLY_SCOPE, -- -2.34.1 +2.25.1 diff --git a/build/patches/0027-Browser-Replace-default-tab-favicon.patch b/build/patches/0027-Browser-Replace-default-tab-favicon.patch index b17eaf20..e269e97e 100644 --- a/build/patches/0027-Browser-Replace-default-tab-favicon.patch +++ b/build/patches/0027-Browser-Replace-default-tab-favicon.patch @@ -1,7 +1,7 @@ -From df9c01481cacb7dafce6fbcf8578543fd734dedf Mon Sep 17 00:00:00 2001 +From 601e5510299cfc4066ed14842efc359f70a757a0 Mon Sep 17 00:00:00 2001 From: althafvly Date: Mon, 2 Jan 2023 15:12:41 +0530 -Subject: [PATCH 27/27] Browser: Replace default tab favicon +Subject: [PATCH 27/32] Browser: Replace default tab favicon --- .../java/res/drawable-hdpi/chromelogo16.png | Bin 425 -> 1016 bytes @@ -274,5 +274,5 @@ zgHvtB1wLAMW7fpK0Dkn>u|T_ZEk;p!1?**bE*en_KaCliE Date: Mon, 16 Jan 2023 16:46:35 +0530 -Subject: [PATCH] Change accent and switch according to our palette +Subject: [PATCH 28/32] Change accent and switch according to our palette --- components/browser_ui/styles/android/BUILD.gn | 4 ++++ @@ -136,5 +136,5 @@ index ac398348031b3..e8ba69e3943f2 100644 + #C8CED0 -- -2.39.0 +2.25.1 diff --git a/build/patches/0029-Browser-Spoof-as-Pixel-4a-by-default.patch b/build/patches/0029-Browser-Spoof-as-Pixel-4a-by-default.patch index aa5bbaf4..bfc4fed0 100644 --- a/build/patches/0029-Browser-Spoof-as-Pixel-4a-by-default.patch +++ b/build/patches/0029-Browser-Spoof-as-Pixel-4a-by-default.patch @@ -1,7 +1,7 @@ -From c8d5d8398b9fd820ab1890660b183013df198b03 Mon Sep 17 00:00:00 2001 +From 08735ecc66531020ffdf555ce59e90fb459cb55c Mon Sep 17 00:00:00 2001 From: althafvly Date: Thu, 19 Jan 2023 05:41:58 +0000 -Subject: [PATCH] Browser: Spoof as Pixel 4a by default +Subject: [PATCH 29/32] Browser: Spoof as Pixel 4a by default - Android 10 Pixel 4a QD4A.200805.003 --- diff --git a/build/patches/0030-Partial-Revert-Guard-for-user-agent-reduction.patch b/build/patches/0030-Partial-Revert-Guard-for-user-agent-reduction.patch new file mode 100644 index 00000000..99ed5b7f --- /dev/null +++ b/build/patches/0030-Partial-Revert-Guard-for-user-agent-reduction.patch @@ -0,0 +1,73 @@ +From 616de775ab5adb79b933a18154947b9f109a9f8d Mon Sep 17 00:00:00 2001 +From: althafvly +Date: Mon, 20 Feb 2023 07:24:50 +0000 +Subject: [PATCH 30/32] Partial Revert "Guard for user-agent reduction" + +This reverts commit b7ad2b24772bea5571baae800d61671484f70f41. +--- + chrome/browser/chrome_content_browser_client.cc | 2 +- + content/common/user_agent.cc | 13 ++++++++----- + .../platform/runtime_enabled_features.json5 | 3 +-- + 3 files changed, 10 insertions(+), 8 deletions(-) + +diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc +index 697b8222f157a..13b5f579ee63d 100644 +--- a/chrome/browser/chrome_content_browser_client.cc ++++ b/chrome/browser/chrome_content_browser_client.cc +@@ -1475,7 +1475,7 @@ void ChromeContentBrowserClient::RegisterProfilePrefs( + registry->RegisterIntegerPref( + prefs::kUserAgentReduction, + static_cast( +- embedder_support::UserAgentReductionEnterprisePolicyState::kForceEnabled)); ++ embedder_support::UserAgentReductionEnterprisePolicyState::kDefault)); + registry->RegisterBooleanPref(prefs::kOriginAgentClusterDefaultEnabled, true); + registry->RegisterIntegerPref( + prefs::kForceMajorVersionToMinorPositionInUserAgent, +diff --git a/content/common/user_agent.cc b/content/common/user_agent.cc +index 8260917f94232..e135cc5a09fc7 100644 +--- a/content/common/user_agent.cc ++++ b/content/common/user_agent.cc +@@ -323,7 +323,14 @@ std::string BuildUserAgentFromProduct(const std::string& product) { + } + + std::string BuildModelInfo() { +- return std::string(); ++ std::string model; ++#if BUILDFLAG(IS_ANDROID) ++ // Only send the model information if on the release build of Android, ++ // matching user agent behaviour. ++ if (base::SysInfo::GetAndroidBuildCodename() == "REL") ++ model = base::SysInfo::HardwareModelName(); ++#endif ++ return model; + } + + #if BUILDFLAG(IS_ANDROID) +@@ -344,10 +351,6 @@ std::string GetAndroidOSInfo( + IncludeAndroidModel include_android_model) { + std::string android_info_str; + +- // Do not send information about the device. +- include_android_model = IncludeAndroidModel::Exclude; +- include_android_build_number = IncludeAndroidBuildNumber::Exclude; +- + // Send information about the device. + bool semicolon_inserted = false; + if (include_android_model == IncludeAndroidModel::Include) { +diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5 b/third_party/blink/renderer/platform/runtime_enabled_features.json5 +index 03c1c48cf970b..c72f8bbd09b4a 100644 +--- a/third_party/blink/renderer/platform/runtime_enabled_features.json5 ++++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5 +@@ -2721,8 +2721,7 @@ + base_feature: "UserAgentClientHint", + }, + { +- name: "UserAgentReduction", // always enabled +- status: "stable", // in bromite ++ name: "UserAgentReduction", + origin_trial_feature_name: "UserAgentReduction", + origin_trial_allows_third_party: true, + // iOS not included as it should not send a reduced User-Agent string. +-- +2.25.1 + diff --git a/build/patches/0030-Remove-webGL-site-setting.patch b/build/patches/0031-Remove-webGL-site-setting.patch similarity index 99% rename from build/patches/0030-Remove-webGL-site-setting.patch rename to build/patches/0031-Remove-webGL-site-setting.patch index e30cb9ef..44fe2620 100644 --- a/build/patches/0030-Remove-webGL-site-setting.patch +++ b/build/patches/0031-Remove-webGL-site-setting.patch @@ -1,7 +1,7 @@ -From 2c7448a485b9280063c537aa4f98df09ed710994 Mon Sep 17 00:00:00 2001 +From 1c7187deacd3d405cd8b160bc7955c8d21c0d6d6 Mon Sep 17 00:00:00 2001 From: althafvly Date: Tue, 24 Jan 2023 05:10:24 +0000 -Subject: [PATCH 30/30] Remove webGL site setting +Subject: [PATCH 31/32] Remove webGL site setting --- .../browser_ui/site_settings/android/BUILD.gn | 3 - diff --git a/build/patches/0032-Browser-Remove-broken-link-about-entries.patch b/build/patches/0032-Browser-Remove-broken-link-about-entries.patch new file mode 100644 index 00000000..a40f377f --- /dev/null +++ b/build/patches/0032-Browser-Remove-broken-link-about-entries.patch @@ -0,0 +1,33 @@ +From fa66e3c5d7e27ad90b4bf8cb74c2ff2e6f2252f1 Mon Sep 17 00:00:00 2001 +From: althafvly +Date: Mon, 20 Feb 2023 07:39:35 +0000 +Subject: [PATCH 32/32] Browser: Remove broken link about entries + +--- + .../java/res/xml/legal_information_preferences.xml | 12 ------------ + 1 file changed, 12 deletions(-) + +diff --git a/chrome/android/java/res/xml/legal_information_preferences.xml b/chrome/android/java/res/xml/legal_information_preferences.xml +index 32067c19d4f7a..8998689617e27 100644 +--- a/chrome/android/java/res/xml/legal_information_preferences.xml ++++ b/chrome/android/java/res/xml/legal_information_preferences.xml +@@ -12,16 +12,4 @@ found in the LICENSE file. + android:key="open_source_license" + android:title="@string/open_source_license_title" + app:url="@string/open_source_license_url" /> +- +- +- + +-- +2.25.1 + -- GitLab