Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CRAS: ensure node deactivation in |switch_profile|
In previous commit CL:5029139 we noticed that |update_active_node| may not be called by the main thread, and that may cause issues when there is a profile-switch. In this CL, we ensure that the nodes are deactivated after the iodevs are closed in |profile_switch|. BUG=b:309536124,b:307228349 TEST=profile-switch 257 times Cq-Depend: chromium:5029139 Change-Id: Ib1c223d8aa383ea0827b0e363da38cccf987ee9e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/5075268 Commit-Queue: Jeremy Wu <jrwu@google.com> Reviewed-by: Hsinyu Chao <hychao@chromium.org> Tested-by: chromeos-cop-builder@chromeos-cop.iam.gserviceaccount.com <chromeos-cop-builder@chromeos-cop.iam.gserviceaccount.com>
- Loading branch information