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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerController.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/media/remote/RemoteMediaPlayerController.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerController.java b/chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerController.java
index edf5384e5b788ba496c3ad2675caa1bf2a8145f6..d26befd04c51be6a454eb0fe74f6719565f07f09 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerController.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerController.java
@@ -4,6 +4,7 @@
package org.chromium.chrome.browser.media.remote;
+import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
import android.content.pm.ApplicationInfo;
@@ -37,6 +38,7 @@ import java.util.List;
*/
public class RemoteMediaPlayerController implements MediaRouteController.UiListener {
// Singleton instance of the class. May only be accessed from UI thread.
+ @SuppressLint("StaticFieldLeak")
private static RemoteMediaPlayerController sInstance;
private static final String TAG = "MediaFling";

Powered by Google App Engine
This is Rietveld 408576698