Skip to content

Commit

Permalink
Quiet log on webrtc usage
Browse files Browse the repository at this point in the history
We now get permission requests for CAMERA_PAN_TILT_ZOOM

Change-Id: I1a86a1aa4d8ec4e8c7f9c1842cd709425de9c954
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
  • Loading branch information
Allan Sandfeld Jensen committed Jan 15, 2021
1 parent 498167a commit c3ba034
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/permission_manager_qt.cpp
Expand Up @@ -68,6 +68,7 @@ static ProfileAdapter::PermissionType toQt(content::PermissionType type)
case content::PermissionType::NOTIFICATIONS:
return ProfileAdapter::NotificationPermission;
case content::PermissionType::ACCESSIBILITY_EVENTS:
case content::PermissionType::CAMERA_PAN_TILT_ZOOM:
return ProfileAdapter::UnsupportedPermission;
case content::PermissionType::FLASH:
case content::PermissionType::MIDI_SYSEX:
Expand All @@ -86,11 +87,10 @@ static ProfileAdapter::PermissionType toQt(content::PermissionType type)
case content::PermissionType::AR:
case content::PermissionType::VR:
case content::PermissionType::STORAGE_ACCESS_GRANT:
case content::PermissionType::CAMERA_PAN_TILT_ZOOM: // FIXME: This one seems to be checked together with webrtc
case content::PermissionType::WINDOW_PLACEMENT:
case content::PermissionType::FONT_ACCESS:
case content::PermissionType::NUM:
LOG(INFO) << "Unsupported permission type: " << static_cast<int>(type);
LOG(INFO) << "Unexpected unsupported permission type: " << static_cast<int>(type);
break;
}
return ProfileAdapter::UnsupportedPermission;
Expand Down

0 comments on commit c3ba034

Please sign in to comment.