Commit 5c2ff62a authored by Jason Lin's avatar Jason Lin Committed by Chromium LUCI CQ

Don't check for CameraClientType::UNKNOWN in VmCameraMicManager

Bug: b/167491603
Change-Id: Ic934fe19f08ec4495e8134a12e51a6b19855e024
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2602308Reviewed-by: default avatarJoel Hockey <joelhockey@chromium.org>
Commit-Queue: Jason Lin <lxj@google.com>
Cr-Commit-Position: refs/heads/master@{#840385}
parent 06dfd79a
......@@ -196,10 +196,7 @@ void VmCameraMicManager::OnActiveClientChange(
bool is_active) {
// Crostini does not support camera yet.
// TODO(b/167491603): `UNKNOWN` is for Parallels using v0 camera API. We
// should be able to remove it soon.
if (type == cros::mojom::CameraClientType::UNKNOWN ||
type == cros::mojom::CameraClientType::PLUGINVM) {
if (type == cros::mojom::CameraClientType::PLUGINVM) {
content::GetUIThreadTaskRunner({})->PostTask(
FROM_HERE,
base::BindOnce(&VmCameraMicManager::UpdateVmInfoAndNotifications,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment