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

Unified Diff: ui/android/java/src/org/chromium/ui/picker/MultiFieldTimePickerDialog.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
« no previous file with comments | « ui/android/java/src/org/chromium/ui/picker/MonthPicker.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/java/src/org/chromium/ui/picker/MultiFieldTimePickerDialog.java
diff --git a/ui/android/java/src/org/chromium/ui/picker/MultiFieldTimePickerDialog.java b/ui/android/java/src/org/chromium/ui/picker/MultiFieldTimePickerDialog.java
index 43cee0e852e09c0891fb5020e72441fabe713cb1..fcde3b36bd26f6da479ae64a966afd583ec4c6bf 100644
--- a/ui/android/java/src/org/chromium/ui/picker/MultiFieldTimePickerDialog.java
+++ b/ui/android/java/src/org/chromium/ui/picker/MultiFieldTimePickerDialog.java
@@ -4,6 +4,7 @@
package org.chromium.ui.picker;
+import android.annotation.SuppressLint;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
@@ -25,6 +26,8 @@ import java.util.ArrayList;
* The milli picker is not displayed if step >= SECOND_IN_MILLIS
* The second picker is not displayed if step >= MINUTE_IN_MILLIS.
*/
+// TODO(crbug.com/635567): Fix these properly.
+@SuppressLint("DefaultLocale")
public class MultiFieldTimePickerDialog
extends AlertDialog implements OnClickListener {
@@ -38,6 +41,9 @@ public class MultiFieldTimePickerDialog
private final int mBaseMilli;
private final boolean mIs24hourFormat;
+ /**
+ * Adds an onTimeSet() method.
+ */
public interface OnMultiFieldTimeSetListener {
void onTimeSet(int hourOfDay, int minute, int second, int milli);
}
« no previous file with comments | « ui/android/java/src/org/chromium/ui/picker/MonthPicker.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698