Commit 127713a6 authored by Matt Jones's avatar Matt Jones Committed by Commit Bot

Disable getLocationFromChrome_noTwaService on L and below

Bug: 1115568
Change-Id: I25754474e7a7600e15987c680880b3e752644218
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2351376
Commit-Queue: Matthew Jones <mdjones@chromium.org>
Auto-Submit: Matthew Jones <mdjones@chromium.org>
Reviewed-by: default avatarPeter Conn <peconn@chromium.org>
Cr-Commit-Position: refs/heads/master@{#797313}
parent 8043ccc3
...@@ -10,6 +10,7 @@ import static org.junit.Assert.assertTrue; ...@@ -10,6 +10,7 @@ import static org.junit.Assert.assertTrue;
import static org.chromium.chrome.browser.browserservices.TrustedWebActivityTestUtil.isTrustedWebActivity; import static org.chromium.chrome.browser.browserservices.TrustedWebActivityTestUtil.isTrustedWebActivity;
import android.net.Uri; import android.net.Uri;
import android.os.Build;
import android.os.RemoteException; import android.os.RemoteException;
import android.support.test.filters.MediumTest; import android.support.test.filters.MediumTest;
...@@ -23,6 +24,7 @@ import org.chromium.base.CommandLine; ...@@ -23,6 +24,7 @@ import org.chromium.base.CommandLine;
import org.chromium.base.library_loader.LibraryLoader; import org.chromium.base.library_loader.LibraryLoader;
import org.chromium.base.test.BaseJUnit4ClassRunner; import org.chromium.base.test.BaseJUnit4ClassRunner;
import org.chromium.base.test.util.CommandLineFlags; import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.base.test.util.DisableIf;
import org.chromium.chrome.browser.browserservices.TrustedWebActivityTestUtil; import org.chromium.chrome.browser.browserservices.TrustedWebActivityTestUtil;
import org.chromium.chrome.browser.customtabs.CustomTabActivityTestRule; import org.chromium.chrome.browser.customtabs.CustomTabActivityTestRule;
import org.chromium.chrome.browser.flags.ChromeFeatureList; import org.chromium.chrome.browser.flags.ChromeFeatureList;
...@@ -107,6 +109,7 @@ public class TrustedWebActivityLocationDelegationTest { ...@@ -107,6 +109,7 @@ public class TrustedWebActivityLocationDelegationTest {
@Test @Test
@MediumTest @MediumTest
@DisableIf.Build(sdk_is_less_than = Build.VERSION_CODES.M, message = "crbug.com/1115568")
public void getLocationFromChrome_noTwaService() throws TimeoutException, Exception { public void getLocationFromChrome_noTwaService() throws TimeoutException, Exception {
String packageName = "other.package.name"; String packageName = "other.package.name";
String testPage = mCustomTabActivityTestRule.getTestServer().getURLWithHostName( String testPage = mCustomTabActivityTestRule.getTestServer().getURLWithHostName(
......
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