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

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

Issue 2758193002: [Android WebAPKs] Don't navigate WebAPK when launching it from launcher (Closed)
Patch Set: Merge branch 'package_name2' 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/java/src/org/chromium/chrome/browser/webapps/WebappInfo.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappInfo.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappInfo.java
index d64dda3ddcdeb209788be719d643c8c5ea99164e..7e868d20d3ea5c07b162b771edd2c0c1b8f01783 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappInfo.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappInfo.java
@@ -194,6 +194,14 @@ public class WebappInfo {
return mUri;
}
+ /**
+ * Whether the webapp should be navigated to {@link uri()} if the webapp is already open when
+ * Chrome receives a ACTION_START_WEBAPP intent.
+ */
+ public boolean shouldNavigateIfAlreadyRunning() {
dominickn 2017/03/21 02:09:33 shouldForceNavigation()
+ return false;
+ }
+
public Uri scopeUri() {
return mScopeUri;
}

Powered by Google App Engine
This is Rietveld 408576698