In chromium these warnings are filtered in 'chrome/android/expectations/lint-baseline.xml', but due to our patches line numbers there are changed thus these patches. Chromium change: https://github.com/chromium/chromium/commit/c4cd648328fbc18a409c7fdf1137024196e06b09 Roll cmdline-tools from Ez2NWws2S... to PGPmqJtSI... This updates lint from version 7.0.0 to 7.1.0, so various baseline.xml files needed updating. This also updates the baseline format from version 5 to version 6. Follow-up CLs can then update the baseline format after this CL lands. This includes internal repos using lint baselines. Cq-Include-Trybots: luci.chrome.try:android-internal-rel Bug: 1293245
13 lines
996 B
Diff
13 lines
996 B
Diff
diff --git a/chrome/android/features/vr/java/src/org/chromium/chrome/browser/vr/VrFallbackUtils.java b/chrome/android/features/vr/java/src/org/chromium/chrome/browser/vr/VrFallbackUtils.java
|
|
index ef8a7d1f59b21c6c65f41009054f959a90301360..563ef806e93ee94dd39df1705b786c00ae619f46 100644
|
|
--- a/chrome/android/features/vr/java/src/org/chromium/chrome/browser/vr/VrFallbackUtils.java
|
|
+++ b/chrome/android/features/vr/java/src/org/chromium/chrome/browser/vr/VrFallbackUtils.java
|
|
@@ -23,6 +23,7 @@ import org.chromium.content_public.browser.UiThreadTaskTraits;
|
|
private static final int PREPARING_VR_NOTIFICATION_TIMEOUT_MS = 5000;
|
|
private static final int PREPARING_VR_NOTIFICATION_DELAY_MS = 2000;
|
|
|
|
+ @android.annotation.SuppressLint("WrongConstant")
|
|
/** Shows immersive notification informing the user that the VR browser is not ready yet. */
|
|
public static void showFailureNotification(Context context) {
|
|
PostTask.postDelayedTask(UiThreadTaskTraits.DEFAULT, () -> {
|