Commit 42f7c96e authored by Piotr Bialecki's avatar Piotr Bialecki Committed by Commit Bot

Camera permissions were not requested for AR content - fix

Change-Id: I68b5cdb12e628ffdcd91e097c4512a733cc5ba79
Fixed: 1056243
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2072667Reviewed-by: default avatarFinnur Thorarinsson <finnur@chromium.org>
Commit-Queue: Piotr Bialecki <bialpio@chromium.org>
Auto-Submit: Piotr Bialecki <bialpio@chromium.org>
Cr-Commit-Position: refs/heads/master@{#745101}
parent 477cec47
......@@ -270,6 +270,7 @@ public class WebsitePreferenceBridge {
case ContentSettingsType.MEDIASTREAM_MIC:
return Arrays.copyOf(MICROPHONE_PERMISSIONS, MICROPHONE_PERMISSIONS.length);
case ContentSettingsType.MEDIASTREAM_CAMERA:
case ContentSettingsType.AR:
return Arrays.copyOf(CAMERA_PERMISSIONS, CAMERA_PERMISSIONS.length);
default:
return EMPTY_PERMISSIONS;
......
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