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

Unified Diff: chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/signin/SigninTestUtil.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/test/android/javatests/src/org/chromium/chrome/test/util/browser/signin/SigninTestUtil.java
diff --git a/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/signin/SigninTestUtil.java b/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/signin/SigninTestUtil.java
index 48c875484d9d14320016abab11f87c75edddbac1..1f35e12533cd73cfb77dec282715b6170c48eea3 100644
--- a/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/signin/SigninTestUtil.java
+++ b/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/signin/SigninTestUtil.java
@@ -5,6 +5,7 @@
package org.chromium.chrome.test.util.browser.signin;
import android.accounts.Account;
+import android.annotation.SuppressLint;
import android.app.Instrumentation;
import android.content.Context;
@@ -29,7 +30,9 @@ public final class SigninTestUtil {
private static final String DEFAULT_ACCOUNT = "test@gmail.com";
+ @SuppressLint("StaticFieldLeak")
private static Context sContext;
+ @SuppressLint("StaticFieldLeak")
private static FakeAccountManagerDelegate sAccountManager;
/**

Powered by Google App Engine
This is Rietveld 408576698