Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Unified Diff: content/public/android/java/src/org/chromium/content/browser/PepperPluginManager.java

Issue 2363113003: Lint suppressions needed for Android SDK roll. (Closed)
Patch Set: Suppress alert box presubmit. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/android/java/src/org/chromium/content/browser/PepperPluginManager.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/PepperPluginManager.java b/content/public/android/java/src/org/chromium/content/browser/PepperPluginManager.java
index 0665a173ec22880421fdf3c2b7bef9cda1e21b67..231cb725f5b0af16cde9d13848c8e556ed87e566 100644
--- a/content/public/android/java/src/org/chromium/content/browser/PepperPluginManager.java
+++ b/content/public/android/java/src/org/chromium/content/browser/PepperPluginManager.java
@@ -4,6 +4,7 @@
package org.chromium.content.browser;
+import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
@@ -88,6 +89,8 @@ public class PepperPluginManager {
* @param context Android context
* @return Description string for plugins
*/
+ // TODO(crbug.com/635567): Fix this properly.
+ @SuppressLint("WrongConstant")
public static String getPlugins(final Context context) {
StringBuilder ret = new StringBuilder();
PackageManager pm = context.getPackageManager();

Powered by Google App Engine
This is Rietveld 408576698