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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.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/CastNotificationControl.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java b/chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java
index 7c562fa5e51caa9808a114d307217fc3cd4102eb..ff276749050a0a116b3578e76231ff3dd09142c3 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java
@@ -4,6 +4,7 @@
package org.chromium.chrome.browser.media.remote;
+import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
@@ -28,6 +29,7 @@ import javax.annotation.Nullable;
public class CastNotificationControl implements MediaRouteController.UiListener,
MediaNotificationListener, AudioManager.OnAudioFocusChangeListener {
+ @SuppressLint("StaticFieldLeak")
private static CastNotificationControl sInstance;
private Bitmap mPosterBitmap;

Powered by Google App Engine
This is Rietveld 408576698