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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/permissions/PermissionDialogController.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/permissions/PermissionDialogController.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/permissions/PermissionDialogController.java b/chrome/android/java/src/org/chromium/chrome/browser/permissions/PermissionDialogController.java
index 194e8e06a18854d9f80b2c9507b9f46a1abb2320..d38dc9b3f037a8e1b40ff6c7ab74d08d726a0701 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/permissions/PermissionDialogController.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/permissions/PermissionDialogController.java
@@ -4,6 +4,7 @@
package org.chromium.chrome.browser.permissions;
+import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.DialogInterface;
import android.support.annotation.IntDef;
@@ -55,6 +56,7 @@ public class PermissionDialogController implements AndroidPermissionRequester.Re
// Static holder to ensure safe initialization of the singleton instance.
private static class Holder {
+ @SuppressLint("StaticFieldLeak")
private static final PermissionDialogController sInstance =
new PermissionDialogController();
}

Powered by Google App Engine
This is Rietveld 408576698