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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/BackgroundSyncNetworkObserver.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: content/public/android/java/src/org/chromium/content/browser/BackgroundSyncNetworkObserver.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/BackgroundSyncNetworkObserver.java b/content/public/android/java/src/org/chromium/content/browser/BackgroundSyncNetworkObserver.java
index fc1bb9a3f9842e33fbed7bb9644f712f089e4487..b13802a7abaf875b7e57efb520ddf82584674429 100644
--- a/content/public/android/java/src/org/chromium/content/browser/BackgroundSyncNetworkObserver.java
+++ b/content/public/android/java/src/org/chromium/content/browser/BackgroundSyncNetworkObserver.java
@@ -5,6 +5,7 @@
package org.chromium.content.browser;
import android.Manifest;
+import android.annotation.SuppressLint;
import android.content.pm.PackageManager;
import android.os.Process;
@@ -40,6 +41,7 @@ class BackgroundSyncNetworkObserver implements NetworkChangeNotifierAutoDetect.O
private NetworkChangeNotifierAutoDetect mNotifier;
// The singleton instance.
+ @SuppressLint("StaticFieldLeak")
private static BackgroundSyncNetworkObserver sInstance;
// List of native observers. These are each called when the network state changes.

Powered by Google App Engine
This is Rietveld 408576698