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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/identity/SettingsSecureBasedIdentificationGenerator.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: chrome/android/java/src/org/chromium/chrome/browser/identity/SettingsSecureBasedIdentificationGenerator.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/identity/SettingsSecureBasedIdentificationGenerator.java b/chrome/android/java/src/org/chromium/chrome/browser/identity/SettingsSecureBasedIdentificationGenerator.java
index 02f2d87865f8b124a46dc3ead85fb3f8f958bf3f..2c647448aeddebff6c7f6ccb16b05c51322c9960 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/identity/SettingsSecureBasedIdentificationGenerator.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/identity/SettingsSecureBasedIdentificationGenerator.java
@@ -4,6 +4,7 @@
package org.chromium.chrome.browser.identity;
+import android.annotation.SuppressLint;
import android.content.Context;
import android.provider.Settings;
@@ -39,6 +40,7 @@ public class SettingsSecureBasedIdentificationGenerator implements UniqueIdentif
return md5Hash == null ? "" : md5Hash;
}
+ @SuppressLint("HardwareIds")
@VisibleForTesting
String getAndroidId() {
return Settings.Secure.getString(mContext.getContentResolver(), Settings.Secure.ANDROID_ID);

Powered by Google App Engine
This is Rietveld 408576698