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 c34b6e39434ce8f9d05b9b90f37f89015e352aa8..45c50d86f37c95ab5815c8ee7715a6aa246a901b 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 |
@@ -243,7 +243,10 @@ public class WebappInfo { |
public void setWebappIntentExtras(Intent intent) { |
intent.putExtra(ShortcutHelper.EXTRA_ID, id()); |
intent.putExtra(ShortcutHelper.EXTRA_URL, uri().toString()); |
+ intent.putExtra(ShortcutHelper.EXTRA_SCOPE, |
+ ShortcutHelper.getScopeFromUrl(uri().toString())); |
intent.putExtra(ShortcutHelper.EXTRA_ICON, encodedIcon()); |
+ intent.putExtra(ShortcutHelper.EXTRA_VERSION, ShortcutHelper.WEBAPP_SHORTCUT_VERSION); |
intent.putExtra(ShortcutHelper.EXTRA_NAME, name()); |
intent.putExtra(ShortcutHelper.EXTRA_SHORT_NAME, shortName()); |
intent.putExtra(ShortcutHelper.EXTRA_ORIENTATION, orientation()); |