desktop-pwas: Check policy app install state when checking for promotability
When a user has a web app installed then uninstalled via policy we leave behind some policy install info in their prefs. This info is used by CanCreateWebApp() to determine whether there is an app already installed by policy. This causes a bug where users cannot install web apps after they've been removed from policy. This CL updates the check to also check whether the app is actually installed and not just check for the presence of the pref data. Bug: 1090182 Change-Id: I736118cec4e0b1ff34ae335965dc7b8816c20837 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2224417 Auto-Submit: Alan Cutter <alancutter@chromium.org> Commit-Queue: Dominick Ng <dominickn@chromium.org> Reviewed-by:Dominick Ng <dominickn@chromium.org> Cr-Commit-Position: refs/heads/master@{#774395}
Showing
Please register or sign in to comment