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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/sync/SyncController.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/sync/SyncController.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncController.java b/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncController.java
index eea486d7fea0da0eb75f2d502db553f00471a5ef..14d8da28e05ea64fa024b4d54fcc93aa888a69dc 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncController.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncController.java
@@ -4,6 +4,7 @@
package org.chromium.chrome.browser.sync;
+import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
@@ -61,6 +62,7 @@ public class SyncController implements ProfileSyncService.SyncStateChangedListen
@VisibleForTesting
public static final String SESSION_TAG_PREFIX = "session_sync";
+ @SuppressLint("StaticFieldLeak")
private static SyncController sInstance;
private static boolean sInitialized;

Powered by Google App Engine
This is Rietveld 408576698