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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/download/DownloadResumptionScheduler.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/download/DownloadResumptionScheduler.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadResumptionScheduler.java b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadResumptionScheduler.java
index 438fbf27958e3b261b085e6b3f252fd905f298a9..b584fb26731b9402278a892af8aa2d3cade9333e 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadResumptionScheduler.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadResumptionScheduler.java
@@ -4,6 +4,7 @@
package org.chromium.chrome.browser.download;
+import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
@@ -24,6 +25,7 @@ public class DownloadResumptionScheduler {
private static final String TAG = "DownloadScheduler";
private static final int ONE_DAY_IN_SECONDS = 24 * 60 * 60;
private final Context mContext;
+ @SuppressLint("StaticFieldLeak")
private static DownloadResumptionScheduler sDownloadResumptionScheduler;
@SuppressFBWarnings("LI_LAZY_INIT")

Powered by Google App Engine
This is Rietveld 408576698