Chromium change:
https://github.com/chromium/chromium/commit/0d0895af67ad844e5292c4640a3b0fffbdf44839
[Jank] Make LayerTitleCache Tablet-only.
Noticed while looking at a startup/jank issue that we were creating the
LayerTitleCache. Now that we only ever use the java tab-switcher on
Phones, I opted to nuke it entirely from non-tablet UI.
Along the way, I moved ownership entirely out of CompostorViewHolder and
into LayoutManagerChromeTablet.
Change-Id: Ifaff8a7fc6eb507d0b7edd688a493103a55d2730
Chromium change:
https://github.com/chromium/chromium/commit/85aab36a5628ebd3ab259068954f982eeff2b1bc
Update SigninChecker to not enable sync for Unicorn users
This updates the SigninChecker implementation to not enable sync when
signing in a Unicorn user in the background (flag-guarded).
Later CLs will update SyncController.java and the FRE screens to also
not force enable sync.
Bug: 1285310
Chromium change:
https://github.com/chromium/chromium/commit/2a774859aecae9ae788ef3a07e5294bf2d265e51
Move SplitCompatUtils into //base
This needs to be moved so it can be used by the autofill_assistant
component. The createChromeContext method was moved into
SplitChromeApplication.
A follow up will remove the old SplitCompatUtils class once all internal
references are removed.
Bug: b/183478921
This fixes these warnings:
../../brave/android/java/org/chromium/chrome/browser/rate/RateFeedbackUtils.java:76: warning: [UseNetworkAnnotations] Direct use of URL#openConnection() is forbidden in Chromium. Use ChromiumNetworkAdapter#openConnection() instead.
urlConnection = (HttpURLConnection) url.openConnection();
^
(see https://bugs.chromium.org/p/chromium/issues/detail?id=1231780)
../../brave/android/java/org/chromium/chrome/browser/shields/BraveShieldsUtils.java:124: warning: [UseNetworkAnnotations] Direct use of URL#openConnection() is forbidden in Chromium. Use ChromiumNetworkAdapter#openConnection() instead.
urlConnection = (HttpURLConnection) url.openConnection();
^
(see https://bugs.chromium.org/p/chromium/issues/detail?id=1231780)
In addition properly formatted RateFeedbackUtils.java file
Chromium change:
https://chromium-review.googlesource.com/c/chromium/src/+/3321445
[Net][Android] Add and use ChromiumNetworkAdapter
This is a wrapper around URL#openConnection() that requires a
NetworkTrafficAnnotationTag, which is used for static analysis.
A future change will add compile-time checks to prevent direct usage
of URL#openConnection().
Replace all URL#openConnection() calls with
ChromiumNetworkAdapter#openConnection().
More blocklisted methods are likely to be added in the future.
Bug: 1231780
Chromium change:
https://chromium-review.googlesource.com/c/chromium/src/+/3351221
Reland "[GMNext] Update ThemeColorProvider to use OmniboxTheme"
This is a reland of 16fdb849a961bef58fb236a12ecb9ad7727c1a6d
Original change's description:
> [GMNext] Update ThemeColorProvider to use OmniboxTheme
>
> This CL updates the icon tint in some classes to follow OmniboxTheme
> instead of the simple light/dark tint. It also moves OmniboxTheme out
> of chrome/browser/omnibox to be able to use it in classes outside
> omnibox/.
>
> Bug: 1233725, 1114183