| Index: chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappInfoTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappInfoTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappInfoTest.java
|
| index 39f6fcbfd477cf66cc843cb98a045e7331184513..22667117ee1500c11b8afc0862ee376a64223d14 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappInfoTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappInfoTest.java
|
| @@ -338,29 +338,6 @@ public class WebappInfoTest extends InstrumentationTestCase {
|
| assertEquals(packageName, info.webApkPackageName());
|
| }
|
|
|
| - @SmallTest
|
| - @Feature({"Webapps"})
|
| - public void testUpdateThemeColorAndOrientation() {
|
| - long themeColor = 0xFF00FF00L;
|
| - int orientation = ScreenOrientationValues.DEFAULT;
|
| -
|
| - Intent intent = createIntentWithUrlAndId();
|
| - intent.putExtra(ShortcutHelper.EXTRA_THEME_COLOR, themeColor);
|
| - intent.putExtra(ShortcutHelper.EXTRA_ORIENTATION, orientation);
|
| -
|
| - WebappInfo info = WebappInfo.create(intent);
|
| - assertEquals(themeColor, info.themeColor());
|
| - assertEquals(orientation, info.orientation());
|
| -
|
| - // Updates the theme color and orientation.
|
| - themeColor = 0xFF0000FFL;
|
| - orientation = ScreenOrientationValues.LANDSCAPE;
|
| - info.updateThemeColor(themeColor);
|
| - info.updateOrientation(orientation);
|
| - assertEquals(themeColor, info.themeColor());
|
| - assertEquals(orientation, info.orientation());
|
| - }
|
| -
|
| /**
|
| * Creates intent with url and id. If the url or id are not set WebappInfo#create() returns
|
| * null.
|
|
|