-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Projector: Close and disable app if admin disables policy
Currently, if the admin disables any of the two policies that control access to the Projector app, then the SWA remains installed and enabled. Clicking it results in a 404 error because the WebUIs disable immediately. If the user has the app already open, then navigating around hits a 404. This CL listens for policy changes and immediately closes and disables the Projector SWA, since we can't uninstall SWAs. The SWA won't install in the launcher on the next sign in. Disabled icon in launcher: https://screenshot.googleplex.com/7VeTCZr3hEvSTyM.png Error message if click disabled icon: https://screenshot.googleplex.com/565AxRxCyEba7xE.png Bug: b/230779397 Change-Id: I2bf12023d5ca27e7ddf59d614695c43471717d42 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3632178 Reviewed-by: Jiewei Qian <qjw@chromium.org> Auto-Submit: Toby Huang <tobyhuang@chromium.org> Commit-Queue: Li Lin <llin@chromium.org> Reviewed-by: Li Lin <llin@chromium.org> Reviewed-by: Ahmed Fakhry <afakhry@chromium.org> Cr-Commit-Position: refs/heads/main@{#1001639}
- Loading branch information
Li Lin
authored and
Chromium LUCI CQ
committed
May 10, 2022
1 parent
3abd31b
commit 90263e9
Showing
6 changed files
with
250 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters