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; |