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

Unified Diff: chrome/android/java_staging/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java

Issue 1190103002: Make lint fail builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix exported crash for ChromeShellTest Created 5 years, 6 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_staging/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java
diff --git a/chrome/android/java_staging/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java b/chrome/android/java_staging/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java
index ec4322d15c6726e0e26d1f426066a98d786819c0..624b8879d1fb4a992cedad5c9db5850a25de441b 100644
--- a/chrome/android/java_staging/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java
+++ b/chrome/android/java_staging/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java
@@ -4,6 +4,7 @@
package org.chromium.chrome.browser.enhancedbookmarks;
+import android.annotation.SuppressLint;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.Menu;
@@ -103,6 +104,7 @@ public class EnhancedBookmarkEditActivity extends EnhancedBookmarkActivityBase {
mEnhancedBookmarksModel.getBookmarkTitle(bookmarkItem.getParentId()));
}
+ @SuppressLint("AlwaysShowAction")
@Override
public boolean onCreateOptionsMenu(Menu menu) {
mDeleteButton = menu.add(R.string.enhanced_bookmark_action_bar_delete).setIcon(

Powered by Google App Engine
This is Rietveld 408576698