summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Biswarup Pal <biswarupp@google.com> 2023-12-28 20:00:04 +0000
committer Biswarup Pal <biswarupp@google.com> 2024-01-15 18:15:20 +0000
commit3be6d3f6ee9b65f86f49f6d5b745c3c813a1f0a6 (patch)
tree83651907359c0796d7c0b2ba2196eadf635304ad /libs/androidfw/FileStream.cpp
parentbc7bab29fba01b9799ab6a1e785e33d3a0d3dcfa (diff)
Add API for virtual camera device policy and lens facing
- DEVICE_POLICY_DEFAULT doesn't allow the creation of any virtual cameras. - DEVICE_POLICY_CUSTOM allows the creation of virtual cameras, but every virtual device can have at most one virtual camera with LENS_FACING_FRONT and one virtual camera with LENS_FACING_BACK. Note that this change doesn't yet add device awareness to the camera framework. Test: atest VirtualCameraControllerTest Test: atest CtsVirtualDevicesCameraTestCases Bug: 310857519 Change-Id: I5a1e7336e682dfcbd09e775f19dc53659cc77d25
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions