Index: device/usb/android/java/src/org/chromium/device/usb/ChromeUsbInterface.java |
diff --git a/device/usb/android/java/src/org/chromium/device/usb/ChromeUsbInterface.java b/device/usb/android/java/src/org/chromium/device/usb/ChromeUsbInterface.java |
index cd4f49270edead7572e387577e17edf090c1dab9..f4818c81c9a44ee7393b4d8eb020295a6cae7c2e 100644 |
--- a/device/usb/android/java/src/org/chromium/device/usb/ChromeUsbInterface.java |
+++ b/device/usb/android/java/src/org/chromium/device/usb/ChromeUsbInterface.java |
@@ -4,6 +4,7 @@ |
package org.chromium.device.usb; |
+import android.annotation.SuppressLint; |
import android.hardware.usb.UsbEndpoint; |
import android.hardware.usb.UsbInterface; |
@@ -38,6 +39,8 @@ final class ChromeUsbInterface { |
return mInterface.getId(); |
} |
+ // TODO(crbug.com/635567): Fix this properly. |
+ @SuppressLint("NewApi") |
@CalledByNative |
private int getAlternateSetting() { |
return mInterface.getAlternateSetting(); |