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

Unified Diff: components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.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: components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java
diff --git a/components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java b/components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java
index 7876df104acddd124c7182e8191fa1d5440a78a0..296980ef014d163acdeb15da64fabfadfdba3b32 100644
--- a/components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java
+++ b/components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java
@@ -5,6 +5,7 @@
package org.chromium.components.sync;
import android.accounts.Account;
+import android.annotation.SuppressLint;
import android.content.ContentResolver;
import android.content.Context;
import android.content.SyncStatusObserver;
@@ -40,6 +41,7 @@ public class AndroidSyncSettings {
*/
private static final Object CLASS_LOCK = new Object();
+ @SuppressLint("StaticFieldLeak")
private static AndroidSyncSettings sInstance;
private final Object mLock = new Object();

Powered by Google App Engine
This is Rietveld 408576698