-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid changing active AC input serviceUid after Device is created
Although Global.acInputs.activeInput is not added to a DeviceModel, avoid modifying the serviceUid of the activeInput after creation, for consistency with the behavior of other Device objects. The main work is to create the new activeInput object imperatively in onActiveInputInfoChanged instead of using Loader to create an instance of ActiveAcInput that dynamically changes its serviceUid depending on the active serviceName and serviceType. Contributes to #1035
- Loading branch information
Showing
3 changed files
with
25 additions
and
19 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