desktop-pwas: PendingAppManager or its clients shouldn't try to install apps if they are installed already. |
|||||
Issue descriptionWebAppPolicyManager and ScanForExternalWebApps try to install the same apps on startup. We should either give them a way to check which apps are already installed so they only try to install new apps, or PendingAppManager should skip installing an app if its already installed.
,
Aug 22
,
Aug 22
What is the consequence of this not being fixed? - Does this refer to manual installation when an app has already been policy-installed? Or policy installation when an app has already been policy-installed? Or some other combo(s)? - Does the user see an attempt to install an already-installed app (like a dialog box), or is it just inefficient / duplicated work internally? Trying to figure out the priority.
,
Aug 22
This refers to PendingAppManager clients e.g. default apps, WebAppPolicyManager, etc. always trying to install their apps on startup. On startup, these clients get a list of apps to install (through policy or a json file) and then try to install them. They don't check if they already installed the app on the last startup; they just keep trying to install their apps every single time the system boots up.
,
Aug 22
From a discussion with ortuno: I think this is an issue if the app is already open, while we reinstall it a few seconds after startup, it might close the window as part of reinstall. We're not sure if that happens. If it does, this is high priority. Otherwise it's a performance hit, but shouldn't otherwise cause any noticeable user problems.
,
Aug 22
P3 because this shouldn't block launch of policy.
,
Aug 28
Fixed by https://crrev.com/c/1192462 which is based on nigeltao's https://crrev.com/c/1179115 |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by ortuno@chromium.org
, Aug 21