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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappVisibilityTest.java

Issue 2758193002: [Android WebAPKs] Don't navigate WebAPK when launching it from launcher (Closed)
Patch Set: Merge branch 'master' into twitter Created 3 years, 9 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/webapps/WebappVisibilityTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappVisibilityTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappVisibilityTest.java
index 37cc00163ba9ed2b51667c195ac72a81421aef64..96aaa7c620fb644ceee4789610c42599a02227d8 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappVisibilityTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappVisibilityTest.java
@@ -102,8 +102,8 @@ public class WebappVisibilityTest extends NativeLibraryTestBase {
"", webappStartUrlOrScopeUrl, null, null, null, null, 0, 0, 0, 0, 0, false);
} else {
delegate = new WebApkBrowserControlsDelegate(null, new Tab(0, false, null));
- info = WebApkInfo.create("", "", webappStartUrlOrScopeUrl, null, null, null, 0, 0, 0, 0,
- 0, "", 0, null, "", null);
+ info = WebApkInfo.create("", "", false /* forceNavigation */, webappStartUrlOrScopeUrl,
+ null, null, null, 0, 0, 0, 0, 0, "", 0, null, "", null);
}
return delegate.shouldShowBrowserControls(info, url, securityLevel);
}

Powered by Google App Engine
This is Rietveld 408576698