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

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

Issue 2760103002: Merge WebApkConstants.EXTRA_WEBAPK_PACKAGE_NAME and ShortcutHelper.EXTRA_WEBAPK_PACKAGE_NAME (Closed)
Patch Set: Merge branch 'master' into package_name 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/WebappDataStorage.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java
index bc4d7e1d098bb8925aa9818868a4e12ecce9a993..3aafbd3bec438d2d145808aba95ddb28c4857f52 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java
@@ -18,6 +18,7 @@ import org.chromium.chrome.browser.ShortcutHelper;
import org.chromium.chrome.browser.ShortcutSource;
import org.chromium.chrome.browser.util.IntentUtils;
import org.chromium.content_public.common.ScreenOrientationValues;
+import org.chromium.webapk.lib.common.WebApkConstants;
import java.util.concurrent.TimeUnit;
@@ -276,8 +277,9 @@ public class WebappDataStorage {
editor.putInt(KEY_SOURCE, IntentUtils.safeGetIntExtra(
shortcutIntent, ShortcutHelper.EXTRA_SOURCE,
ShortcutSource.UNKNOWN));
- editor.putString(KEY_WEBAPK_PACKAGE_NAME, IntentUtils.safeGetStringExtra(
- shortcutIntent, ShortcutHelper.EXTRA_WEBAPK_PACKAGE_NAME));
+ editor.putString(KEY_WEBAPK_PACKAGE_NAME,
+ IntentUtils.safeGetStringExtra(
+ shortcutIntent, WebApkConstants.EXTRA_WEBAPK_PACKAGE_NAME));
updated = true;
}
if (updated) editor.apply();

Powered by Google App Engine
This is Rietveld 408576698