Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4214e49 authored by Jan Sebechlebsky's avatar Jan Sebechlebsky
Browse files

Document that createVirtualCamera throws if virtual camera is not

supported.

Bug: 310857519
Test: N/A - doc change
Change-Id: Iecfe12bde3b98552b0f3abae1eaa1dfab34c7417
parent 317827fe
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -972,6 +972,7 @@ public final class VirtualDeviceManager {
         *
         * @param config camera configuration.
         * @return newly created camera.
         * @throws UnsupportedOperationException if virtual camera isn't supported on this device.
         * @see VirtualDeviceParams#POLICY_TYPE_CAMERA
         */
        @RequiresPermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE)