| Index: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInfo.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInfo.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInfo.java
|
| index 1d28de4b503d6d09f719e680b340241dfc68eda2..825830b628684d0fd71a2eedff0395bca0327514 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInfo.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInfo.java
|
| @@ -59,28 +59,25 @@ public class WebApkInfo extends WebappInfo {
|
| * @param source Source where the webapp was added from.
|
| * @param themeColor The theme color of the webapp.
|
| * @param backgroundColor The background color of the webapp.
|
| - * @param isIconGenerated Whether the |icon| was generated by Chromium.
|
| * @param webApkPackageName The package of the WebAPK associated with the webapp.
|
| */
|
| public static WebApkInfo create(String id, String url, String scope, String encodedIcon,
|
| String name, String shortName, int displayMode, int orientation, int source,
|
| - long themeColor, long backgroundColor, boolean isIconGenerated,
|
| - String webApkPackageName) {
|
| + long themeColor, long backgroundColor, String webApkPackageName) {
|
| if (id == null || url == null || webApkPackageName == null) {
|
| Log.e(TAG, "Incomplete data provided: " + id + ", " + url + ", " + webApkPackageName);
|
| return null;
|
| }
|
|
|
| return new WebApkInfo(id, url, scope, encodedIcon, name, shortName, displayMode,
|
| - orientation, source, themeColor, backgroundColor, isIconGenerated,
|
| - webApkPackageName);
|
| + orientation, source, themeColor, backgroundColor, webApkPackageName);
|
| }
|
|
|
| protected WebApkInfo(String id, String url, String scope, String encodedIcon, String name,
|
| String shortName, int displayMode, int orientation, int source, long themeColor,
|
| - long backgroundColor, boolean isIconGenerated, String webApkPackageName) {
|
| + long backgroundColor, String webApkPackageName) {
|
| super(id, url, scope, encodedIcon, name, shortName, displayMode, orientation, source,
|
| - themeColor, backgroundColor, isIconGenerated);
|
| + themeColor, backgroundColor, false);
|
| mWebApkPackageName = webApkPackageName;
|
| }
|
|
|
|
|