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

Unified Diff: net/android/java/src/org/chromium/net/NetworkChangeNotifier.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: net/android/java/src/org/chromium/net/NetworkChangeNotifier.java
diff --git a/net/android/java/src/org/chromium/net/NetworkChangeNotifier.java b/net/android/java/src/org/chromium/net/NetworkChangeNotifier.java
index 2d0fe8d6ed246d6910ac1cd31317854db462d1ee..6549e0210f73d7a11cfc54d7fd1aa5d23ea47b45 100644
--- a/net/android/java/src/org/chromium/net/NetworkChangeNotifier.java
+++ b/net/android/java/src/org/chromium/net/NetworkChangeNotifier.java
@@ -4,6 +4,7 @@
package org.chromium.net;
+import android.annotation.SuppressLint;
import android.content.Context;
import org.chromium.base.ObserverList;
@@ -41,6 +42,7 @@ public class NetworkChangeNotifier {
private double mCurrentMaxBandwidth = Double.POSITIVE_INFINITY;
private int mMaxBandwidthConnectionType = mCurrentConnectionType;
+ @SuppressLint("StaticFieldLeak")
private static NetworkChangeNotifier sInstance;
@VisibleForTesting

Powered by Google App Engine
This is Rietveld 408576698