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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuHandler.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/appmenu/AppMenuHandler.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuHandler.java b/chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuHandler.java
index 886ce1b11e99f6a67f656084968ae7a4012e1fb2..29078598fb9c1cb2b837ea9a283d6e2e7bfa8cea 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuHandler.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuHandler.java
@@ -4,6 +4,7 @@
package org.chromium.chrome.browser.appmenu;
+import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.res.TypedArray;
import android.graphics.Point;
@@ -77,6 +78,8 @@ public class AppMenuHandler {
* @return True, if the menu is shown, false, if menu is not shown, example reasons:
* the menu is not yet available to be shown, or the menu is already showing.
*/
+ // TODO(crbug.com/635567): Fix this properly.
+ @SuppressLint("ResourceType")
public boolean showAppMenu(View anchorView, boolean startDragging) {
if (!mDelegate.shouldShowAppMenu() || isAppMenuShowing()) return false;
boolean isByPermanentButton = false;

Powered by Google App Engine
This is Rietveld 408576698