Index: ui/android/java/src/org/chromium/ui/base/Clipboard.java |
diff --git a/ui/android/java/src/org/chromium/ui/base/Clipboard.java b/ui/android/java/src/org/chromium/ui/base/Clipboard.java |
index fddad5a451279f0fe215d359fe93e3745c8909f3..5403fbae46c16f95275ee59acb58417c117530b0 100644 |
--- a/ui/android/java/src/org/chromium/ui/base/Clipboard.java |
+++ b/ui/android/java/src/org/chromium/ui/base/Clipboard.java |
@@ -4,6 +4,7 @@ |
package org.chromium.ui.base; |
+import android.annotation.SuppressLint; |
import android.content.ClipData; |
import android.content.ClipDescription; |
import android.content.ClipboardManager; |
@@ -28,6 +29,7 @@ import org.chromium.ui.widget.Toast; |
*/ |
@JNINamespace("ui") |
public class Clipboard implements ClipboardManager.OnPrimaryClipChangedListener { |
+ @SuppressLint("StaticFieldLeak") |
private static Clipboard sInstance; |
// Necessary for coercing clipboard contents to text if they require |