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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/invalidation/ChromeBrowserSyncAdapterService.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/invalidation/ChromeBrowserSyncAdapterService.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/invalidation/ChromeBrowserSyncAdapterService.java b/chrome/android/java/src/org/chromium/chrome/browser/invalidation/ChromeBrowserSyncAdapterService.java
index 32a78ef95d0f7d584c3019d4e843d1ceeb5036be..76149cb0d9d77528a6328d65ac124fda4a4dcc53 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/invalidation/ChromeBrowserSyncAdapterService.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/invalidation/ChromeBrowserSyncAdapterService.java
@@ -4,6 +4,7 @@
package org.chromium.chrome.browser.invalidation;
+import android.annotation.SuppressLint;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
@@ -15,6 +16,8 @@ import org.chromium.chrome.browser.init.ProcessInitializationHandler;
* A Service that provides access to {@link ChromeBrowserSyncAdapter}.
*/
public class ChromeBrowserSyncAdapterService extends Service {
+
+ @SuppressLint("StaticFieldLeak")
private static ChromeBrowserSyncAdapter sSyncAdapter;
private static final Object LOCK = new Object();

Powered by Google App Engine
This is Rietveld 408576698