Index: content/public/android/java/src/org/chromium/content/browser/SpeechRecognition.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/SpeechRecognition.java b/content/public/android/java/src/org/chromium/content/browser/SpeechRecognition.java |
index 8a2a54b421794d32a51e47d50eb70df03fed962f..41b253e8f46ee1f7bc53d3704e0cfe97ac003162 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/SpeechRecognition.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/SpeechRecognition.java |
@@ -4,6 +4,7 @@ |
package org.chromium.content.browser; |
+import android.annotation.SuppressLint; |
import android.content.ComponentName; |
import android.content.Context; |
import android.content.Intent; |
@@ -173,6 +174,8 @@ public class SpeechRecognition { |
* query Android's package manager to find a suitable speech recognition provider that supports |
* continuous recognition. |
*/ |
+ // TODO(crbug.com/635567): Fix this properly. |
+ @SuppressLint("WrongConstant") |
public static boolean initialize(Context context) { |
if (!SpeechRecognizer.isRecognitionAvailable(context)) return false; |