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
899 B
Diff
13 lines
899 B
Diff
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/media/MediaCaptureNotificationServiceImpl.java b/chrome/android/java/src/org/chromium/chrome/browser/media/MediaCaptureNotificationServiceImpl.java
|
|
index 8918f50b69bed867a8fd898eba5564d624ae9259..9f96e578f1d172dcebc62023930adc4779740cea 100644
|
|
--- a/chrome/android/java/src/org/chromium/chrome/browser/media/MediaCaptureNotificationServiceImpl.java
|
|
+++ b/chrome/android/java/src/org/chromium/chrome/browser/media/MediaCaptureNotificationServiceImpl.java
|
|
@@ -173,6 +173,7 @@ public class MediaCaptureNotificationServiceImpl extends MediaCaptureNotificatio
|
|
}
|
|
}
|
|
|
|
+ @android.annotation.SuppressLint("WrongConstant")
|
|
private void createNotification(
|
|
int notificationId, @MediaType int mediaType, String url, boolean isIncognito) {
|
|
final String channelId = mediaType == MediaType.SCREEN_CAPTURE
|