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

Unified Diff: chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastSysInfoAndroid.java

Issue 2830843004: Update to newer Android Lint and suppress new Lint errors (Closed)
Patch Set: rebase Created 3 years, 8 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: chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastSysInfoAndroid.java
diff --git a/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastSysInfoAndroid.java b/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastSysInfoAndroid.java
index 01170fc224ed293851895ed34a0d626d0bca1e0e..cd6133e019399eec47df26d240336a9d09c8de74 100644
--- a/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastSysInfoAndroid.java
+++ b/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastSysInfoAndroid.java
@@ -4,6 +4,7 @@
package org.chromium.chromecast.shell;
+import android.annotation.SuppressLint;
import android.os.Build;
import org.chromium.base.annotations.CalledByNative;
@@ -16,6 +17,7 @@ import org.chromium.base.annotations.JNINamespace;
public final class CastSysInfoAndroid {
private static final String TAG = "CastSysInfoAndroid";
+ @SuppressLint("HardwareIds")
@CalledByNative
private static String getSerialNumber() {
return Build.SERIAL;

Powered by Google App Engine
This is Rietveld 408576698