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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/gsa/GSAState.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/gsa/GSAState.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/gsa/GSAState.java b/chrome/android/java/src/org/chromium/chrome/browser/gsa/GSAState.java
index 6c4809887156237d6555144a1ffe9714fa05adbc..78b7e80a93af2bc6aa2a4e28511aac9ade5c8749 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/gsa/GSAState.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/gsa/GSAState.java
@@ -5,6 +5,7 @@
package org.chromium.chrome.browser.gsa;
import android.accounts.Account;
+import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
@@ -32,6 +33,7 @@ public class GSAState {
/**
* An instance of GSAState class encapsulating knowledge about the current status.
*/
+ @SuppressLint("StaticFieldLeak")
private static GSAState sGSAState;
/**

Powered by Google App Engine
This is Rietveld 408576698