-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 'Share with Parallels Desktop' not appearing in Files app
crrev.com/c/4019076 moved the logic for observing changes from the file manager code to the PluginVmManager, but incorrectly used 'allowed' state (allowed by policy) rather than 'enabled' state (allowed + installed) to decide whether to show the share option. It also only triggers when this state changes, so under normal operation there is no change and the share option will not show. This CL fixes these. Rename PluginVmPolicySubscrtiption to PluginVmAvailabilitySubscription and also use it to track 'configured' state (whether it's installed or not). The other consumer of this class currently separately monitors configured state, so it's convenient to do it here too. Bug: b/269231606 Change-Id: Ib87e5120c18661f5080f7b11b8a4758f67c540c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4273106 Commit-Queue: Timothy Loh <timloh@chromium.org> Reviewed-by: Austin Tankiang <austinct@chromium.org> Reviewed-by: Maggie Cai <mxcai@chromium.org> Reviewed-by: Joel Hockey <joelhockey@chromium.org> Cr-Commit-Position: refs/heads/main@{#1108712}
- Loading branch information
Showing
9 changed files
with
90 additions
and
71 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
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