SuppressWarnings EnumOrdinal.

This is to fix compile failure following https://chromium-review.googlesource.com/c/chromium/src/+/5901711.

Change-Id: I817813e24c96ec542c0e030e1e2964f8bbd591fc
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/364464
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Jeremy Leconte <jleconte@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#43178}
diff --git a/rtc_base/java/src/org/webrtc/Logging.java b/rtc_base/java/src/org/webrtc/Logging.java
index e7a9921..28337ae 100644
--- a/rtc_base/java/src/org/webrtc/Logging.java
+++ b/rtc_base/java/src/org/webrtc/Logging.java
@@ -106,7 +106,7 @@
   // output. On Android, the output will be directed to Logcat.
   // Note: this function starts collecting the output of the RTC_LOG() macros.
   // TODO(bugs.webrtc.org/8491): Remove NoSynchronizedMethodCheck suppression.
-  @SuppressWarnings("NoSynchronizedMethodCheck")
+  @SuppressWarnings({"EnumOrdinal", "NoSynchronizedMethodCheck"})
   public static synchronized void enableLogToDebugOutput(Severity severity) {
     if (loggable != null) {
       throw new IllegalStateException(
@@ -117,6 +117,7 @@
     loggingEnabled = true;
   }
 
+  @SuppressWarnings("EnumOrdinal")
   public static void log(Severity severity, String tag, String message) {
     if (tag == null || message == null) {
       throw new IllegalArgumentException("Logging tag or message may not be null.");