| Index: chrome/android/java/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java
|
| index a6f411022f3f6e07a51153feb809b798e66c936e..46bac28629ed811b4dfc5231039a131832a34253 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java
|
| @@ -772,6 +772,8 @@ public class ChromeLauncherActivity extends Activity
|
| ShortcutHelper.EXTRA_ORIENTATION, ScreenOrientationValues.DEFAULT);
|
| int webappSource = IntentUtils.safeGetIntExtra(intent,
|
| ShortcutHelper.EXTRA_SOURCE, ShortcutHelper.SOURCE_UNKNOWN);
|
| + long webappThemeColor = IntentUtils.safeGetLongExtra(intent,
|
| + ShortcutHelper.EXTRA_THEME_COLOR, ShortcutHelper.THEME_COLOR_INVALID_OR_MISSING);
|
|
|
| if (webappId != null && webappUrl != null) {
|
| String webappMacString = IntentUtils.safeGetStringExtra(
|
| @@ -785,8 +787,8 @@ public class ChromeLauncherActivity extends Activity
|
| webappUrl, webappSource);
|
| }
|
|
|
| - WebappActivity.launchInstance(this, webappId,
|
| - webappUrl, webappIcon, webappTitle, webappOrientation, webappSource);
|
| + WebappActivity.launchInstance(this, webappId, webappUrl, webappIcon,
|
| + webappTitle, webappOrientation, webappSource, webappThemeColor);
|
| } else {
|
| Log.e(TAG, "Shortcut (" + webappUrl + ") opened in Chrome.");
|
|
|
|
|