[Android] Java code adjustments to the upstream changes

Chromium changes:
https://github.com/chromium/chromium/commit/c56158ffd2b647b9c64554e173747c4451021245

Reland "[Tab Switcher] Remove DFM Code"
This reverts commit 3e5825d.

Reason for revert: was reverted for a resource missing bug
which seems to have been remedied by
https://chromium-review.googlesource.com/c/chromium/src/+/4385474

I've tried building the failing gn args config from
https://crbug.com/1427465 locally and didn't encounter any issues.

Also added android-official build to the CQ to double check.

See the delta between PS1 and Latest for changes.

https://github.com/chromium/chromium/commit/b587c288d722f2e06f6bad83a46425e90d172a6e

Remove Android UI jank tracker
This CL removes all classes related to Android UI jank metrics. These
metrics measured durations of native Android UI frames. They were used
to support the Android team and are no longer in use. Their
histograms.xml entries expired in June 2022.

Change-Id: I9103a5289c0f82ae49fc96c2dc9488e1bb2eff18

https://github.com/chromium/chromium/commit/c34a9b5a65d5ed0034439153ae8c3aadc2716439

[Start] Add the single tab card on NewTabPage layout when used on the…
… tablet

Add the single tab card on the New tab page when we use the App on the tablet. We also added the tests for it.

Bug: 1416536, 1420752
This commit is contained in:
Artem Samoilenko
2023-05-15 13:10:38 +01:00
committed by Claudio DeSouza
parent 631729b452
commit b8cebb7d80
10 changed files with 27 additions and 32 deletions
@@ -5,8 +5,6 @@
package org.chromium.chrome.browser.tasks.tab_management;
import static org.chromium.chrome.browser.tasks.tab_management.TabManagementModuleProvider.SYNTHETIC_TRIAL_POSTFIX;
import android.app.Activity;
import android.view.View;
import android.view.ViewGroup;