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

Unified Diff: remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.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: remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java
diff --git a/remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java b/remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java
index 8f9f6b3ee3775afab8e99399538c778bff835424..999354b1909a2800bb8e4ca6676b5203117a0dc3 100644
--- a/remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java
+++ b/remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java
@@ -4,6 +4,7 @@
package org.chromium.chromoting.jni;
+import android.annotation.SuppressLint;
import android.content.Context;
import org.chromium.base.ContextUtils;
@@ -26,6 +27,7 @@ public class JniInterface {
private static final String LIBRARY_NAME = "remoting_client_jni";
// Used to fetch auth token for native client.
+ @SuppressLint("StaticFieldLeak")
private static OAuthTokenConsumer sLoggerTokenConsumer;
private static String sAccount;

Powered by Google App Engine
This is Rietveld 408576698