0

Reland "Manual roll Android Lint from cpi5krkjlhoCfjDOZ... to vBqKHQdjLFM5l79fp..."

This is a reland of commit c12d388b70

Added the missing file that need `@SuppressWarnings("GestureBackNavigation")`

Original change's description:
> Manual roll Android Lint from cpi5krkjlhoCfjDOZ... to vBqKHQdjLFM5l79fp...
>
> Maual: Suppress the lint error,
>
> If this roll has caused a breakage, revert this CL and stop the roller
> using the controls here:
> https://autoroll.skia.org/r/lint-chromium
> Please CC clank-build-core@google.com,clank-library-failures@google.com,wnwen@google.com on the revert to ensure that a human
> is aware of the problem.
>
> To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry
>
> To report a problem with the AutoRoller itself, please file a bug:
> https://issues.skia.org/issues/new?component=1389291&template=1850622
>
> Documentation for the AutoRoller is here:
> https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
>
> Tbr: clank-library-failures@google.com
> Change-Id: Iccc0be25ec30e92baa18a5a4398bd1acbb85049b
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6432318
> Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
> Commit-Queue: Haiyang Pan <hypan@google.com>
> Reviewed-by: Nate Fischer <ntfschr@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1442987}

Cq-Include-Trybots: luci.chromium.try:android-cast-arm-dbg
Change-Id: I934a750cf8bfb92e44d84ee3d60968c254078fa2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6435045
Reviewed-by: Yuchen Liu <yucliu@chromium.org>
Commit-Queue: Haiyang Pan <hypan@google.com>
Reviewed-by: Nate Fischer <ntfschr@chromium.org>
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1443698}
This commit is contained in:
Haiyang Pan
2025-04-07 12:38:36 -07:00
committed by Chromium LUCI CQ
parent 7590b06694
commit c0e958580a
4 changed files with 4 additions and 1 deletions
DEPS
android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell
chromecast/browser/android/apk/src/org/chromium/chromecast/shell
components/webxr/android/java/src/org/chromium/components/webxr

2
DEPS

@ -1753,7 +1753,7 @@ deps = {
'packages': [
{
'package': 'chromium/third_party/android_build_tools/lint',
'version': 'cpi5krkjlhoCfjDOZ3fIdPXDOqnCGMBVzm_yHg1WnWUC',
'version': 'vBqKHQdjLFM5l79fpi3L9l7kD9b1FfeyfWbIFjXShSgC',
},
],
'condition': 'checkout_android and non_git_source',

@ -99,6 +99,7 @@ public class WebViewBrowserActivity extends AppCompatActivity {
}
@Override
@SuppressWarnings("GestureBackNavigation")
public void onBackPressed() {
if (mWebView != null && mWebView.canGoBack()) {
mWebView.goBack();

@ -385,6 +385,7 @@ public class CastWebContentsActivity extends Activity {
}
@Override
@SuppressWarnings("GestureBackNavigation")
public void onBackPressed() {
WebContents webContents = CastWebContentsIntentUtils.getWebContents(getIntent());
if (webContents == null) {

@ -77,6 +77,7 @@ public class XrHostActivity extends Activity {
}
@Override
@SuppressWarnings("GestureBackNavigation")
public void onBackPressed() {
if (DEBUG_LOGS) Log.i(TAG, "onBackPressed");
super.onBackPressed();