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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/customtabs/RequestThrottler.java

Issue 2363113003: Lint suppressions needed for Android SDK roll. (Closed)
Patch Set: Suppress alert box presubmit. Created 4 years, 3 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/customtabs/RequestThrottler.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/RequestThrottler.java b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/RequestThrottler.java
index 7a43b63a2aeb0235b9492faa16f418a2273a41b9..c002c7b08012d399660aba48e5dff810a948366f 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/RequestThrottler.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/RequestThrottler.java
@@ -4,6 +4,7 @@
package org.chromium.chrome.browser.customtabs;
+import android.annotation.SuppressLint;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.AsyncTask;
@@ -196,6 +197,8 @@ class RequestThrottler {
*
* @param context The application context.
*/
+ // TODO(crbug.com/635567): Fix this properly.
+ @SuppressLint("CommitPrefEdits")
static void loadInBackground(final Context context) {
new AsyncTask<Void, Void, Void>() {
@Override

Powered by Google App Engine
This is Rietveld 408576698