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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/omnibox/SuggestionView.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/omnibox/SuggestionView.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/omnibox/SuggestionView.java b/chrome/android/java/src/org/chromium/chrome/browser/omnibox/SuggestionView.java
index b3017d8027d4e33cdbab49cc812f6d3267f7117b..c7d828dccbfad21554595f2f10832f6197d00207 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/omnibox/SuggestionView.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/omnibox/SuggestionView.java
@@ -639,6 +639,7 @@ class SuggestionView extends ViewGroup {
}
};
+ // TODO(crbug.com/635567): Fix this properly.
@SuppressLint("InlinedApi")
SuggestionContentsContainer(Context context, Drawable backgroundDrawable) {
super(context);
@@ -976,6 +977,8 @@ class SuggestionView extends ViewGroup {
return drawableState;
}
+ // TODO(crbug.com/635567): Fix this properly.
+ @SuppressLint("SwitchIntDef")
private void setSuggestionIcon(@SuggestionIcon int type, boolean invalidateCurrentIcon) {
if (mSuggestionIconType == type && !invalidateCurrentIcon) return;
assert type != SUGGESTION_ICON_UNDEFINED;

Powered by Google App Engine
This is Rietveld 408576698