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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilderTest.java

Issue 2830843004: Update to newer Android Lint and suppress new Lint errors (Closed)
Patch Set: rebase Created 3 years, 8 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/javatests/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilderTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilderTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilderTest.java
index d06849b4ee5bc7b6de95865e15b2d2269e420ecf..43e74e386a80a7394b77224816298eb1edd5d126 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilderTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilderTest.java
@@ -4,6 +4,7 @@
package org.chromium.chrome.browser.notifications;
+import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.app.Notification;
import android.app.PendingIntent;
@@ -55,6 +56,8 @@ public class CustomNotificationBuilderTest {
@Test
@SmallTest
@Feature({"Browser", "Notifications"})
+ // TODO(crbug.com/635567): Fix this properly.
Ted C 2017/04/27 19:02:48 this method checks api versions already...is there
F 2017/04/28 18:25:15 Done. Overly chatty. Thanks for pointing this out!
+ @SuppressLint("NewApi")
public void testSetAll() {
Context context = InstrumentationRegistry.getInstrumentation().getTargetContext();

Powered by Google App Engine
This is Rietveld 408576698