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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ntp/UiConfig.java

Issue 2363113003: Lint suppressions needed for Android SDK roll. (Closed)
Patch Set: Suppress alert box presubmit. Created 4 years, 2 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/ntp/UiConfig.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/UiConfig.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/UiConfig.java
index 9ed014e7b65faf20228636d999a9f1d9e53a56fa..3dd87ef00cf06e47bd55ee837ad3877f914a3535 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/UiConfig.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/UiConfig.java
@@ -4,6 +4,7 @@
package org.chromium.chrome.browser.ntp;
+import android.annotation.SuppressLint;
import android.content.Context;
import android.support.annotation.IntDef;
import android.view.View;
@@ -103,6 +104,8 @@ public class UiConfig {
}
@DisplayStyle
+ // TODO(crbug.com/635567): Fix this properly.
+ @SuppressLint("DefaultLocale")
private int computeDisplayStyleForCurrentConfig() {
int widthDp = mContext.getResources().getConfiguration().screenWidthDp;

Powered by Google App Engine
This is Rietveld 408576698