diff --git a/mobile/android/app/lint.xml b/mobile/android/app/lint.xml
index 386285995cf2..60e851238c52 100644
--- a/mobile/android/app/lint.xml
+++ b/mobile/android/app/lint.xml
@@ -40,6 +40,9 @@
+
+
+
@@ -67,6 +70,30 @@
https://code.google.com/p/android/issues/detail?id=204846 -->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
- @drawable/search_launcher
+ @drawable/search_launcher
diff --git a/mobile/android/base/java/org/mozilla/gecko/menu/GeckoMenuInflater.java b/mobile/android/base/java/org/mozilla/gecko/menu/GeckoMenuInflater.java
index 49f886a629f5..b0dbed82a2c8 100644
--- a/mobile/android/base/java/org/mozilla/gecko/menu/GeckoMenuInflater.java
+++ b/mobile/android/base/java/org/mozilla/gecko/menu/GeckoMenuInflater.java
@@ -6,7 +6,6 @@ package org.mozilla.gecko.menu;
import java.io.IOException;
-import org.mozilla.gecko.AppConstants.Versions;
import org.mozilla.gecko.R;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
@@ -14,6 +13,7 @@ import org.xmlpull.v1.XmlPullParserException;
import android.content.Context;
import android.content.res.TypedArray;
import android.content.res.XmlResourceParser;
+import android.support.annotation.XmlRes;
import android.util.AttributeSet;
import android.util.Xml;
import android.view.InflateException;
@@ -50,7 +50,7 @@ public class GeckoMenuInflater extends MenuInflater {
}
@Override
- public void inflate(int menuRes, Menu menu) {
+ public void inflate(@XmlRes int menuRes, Menu menu) {
// This does not check for a well-formed XML.