Commit 067ac219 authored by Xing Liu's avatar Xing Liu Committed by Commit Bot

Enable NotificationIntentInterceptorTest on certain version of Android.

NotificationIntentInterceptorTest is flaky on kitkat, this CL enables
it on post Android K versions.

TBR=dtrainor@chromium.org, peter@chromium.org


Bug: 910870
Change-Id: I8643bee6718dc05e73e0f62f481e9150a0f38d75
Reviewed-on: https://chromium-review.googlesource.com/c/1459520Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
Commit-Queue: Xing Liu <xingliu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#630549}
parent 35c2a0c0
......@@ -9,6 +9,7 @@ import android.app.NotificationManager;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.support.test.InstrumentationRegistry;
import android.support.test.filters.MediumTest;
import android.support.test.uiautomator.By;
......@@ -24,7 +25,7 @@ import org.junit.runner.RunWith;
import org.chromium.base.ContextUtils;
import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.base.test.util.DisabledTest;
import org.chromium.base.test.util.MinAndroidSdkLevel;
import org.chromium.base.test.util.RetryOnFailure;
import org.chromium.chrome.R;
import org.chromium.chrome.browser.ChromeSwitches;
......@@ -99,7 +100,7 @@ public class NotificationIntentInterceptorTest {
@Test
@MediumTest
@RetryOnFailure
@DisabledTest
@MinAndroidSdkLevel(Build.VERSION_CODES.LOLLIPOP)
public void testContentIntentInterception() {
// Send notification.
NotificationManager notificationManager =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment