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

Skip to content
Commit d82a71e1 authored by Avichal Rakesh's avatar Avichal Rakesh
Browse files

cameraservice: remove unnecessary permission checks

isSessionConfigurationWithParamtersSupported and createCaptureRequest
added as a part of feature combination query APIs do not require the
apps to have CAMERA permission as they are fairly lightweight and
do not require any allocating any heavy resources. CameraDeviceSetup
added to CameraDevice also reflects this in its APIs.

This CL removes the permission checks from the two functions
mentioned above.

Bug: 320741775
Test: atest CtsCameraTestCases:CameraDeviceTest passes.
Test: atest CtsCameraTestCases:FeatureCombinationTest passes.
Test: atest CtsCameraTestCases:CameraDeviceSetupTest passes.
Change-Id: Id6b8052b59ff550db37d5b8086e71f5ba57fbff2
parent 403d9139
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment