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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/preferences/datareduction/DataReductionStatsPreference.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/preferences/datareduction/DataReductionStatsPreference.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/datareduction/DataReductionStatsPreference.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/datareduction/DataReductionStatsPreference.java
index 579a2d4eaaea5c548835e13add1db8b2968ffd0f..c19b4ca9aefebe59da416b9f78e04106c2d73e81 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/datareduction/DataReductionStatsPreference.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/datareduction/DataReductionStatsPreference.java
@@ -9,6 +9,7 @@ import static android.text.format.DateUtils.FORMAT_SHOW_DATE;
import static org.chromium.third_party.android.datausagechart.ChartDataUsageView.DAYS_IN_CHART;
+import android.annotation.SuppressLint;
import android.content.Context;
import android.preference.Preference;
import android.preference.PreferenceCategory;
@@ -133,6 +134,8 @@ public class DataReductionStatsPreference extends PreferenceCategory {
* of all data received (after compression), the percent data reduction
* and the range of dates over which these statistics apply.
*/
+ // TODO(crbug.com/635567): Fix this properly.
+ @SuppressLint("DefaultLocale")
private void updateDetailData() {
final long start = mLeftPosition;
// Include up to the last second of the currently selected day.

Powered by Google App Engine
This is Rietveld 408576698