diff options
author | Jayant Chowdhary <jchowdhary@google.com> | 2019-07-17 09:28:50 -0700 |
---|---|---|
committer | Jayant Chowdhary <jchowdhary@google.com> | 2019-08-20 15:24:28 -0700 |
commit | 393ad6e0ad1670a1d33e97f7bb07b0df381b5e76 (patch) | |
tree | d3ade16544a8473fa1c584c3521c7cc6a537a930 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 90ad227c3ef268138a3061f7e312862251a9b6e9 (diff) |
Add SYSTEM_CAMERA capability to camera2 and define @SystemApi SYSTEM_CAMERA permissions.
In order to access system-only cameras client processes need
SYSTEM_CAMERA permissions in addition to CAMERA permissions. A
permission was preferred over other mechanisms such as having private
connections would need to hard-code the package name(s) of clients using
system only camera devices. A system | signature permission on the other hand,
would make this more flexible and would be better for security.
Bug: 133508924
Test: cts CameraManagerTest, CameraDeviceTest
Test: Give cts test SYSTEM_CAMERA permissions by using
adoptShellPermissions and run some camera tests.
Change-Id: Ibcd6ccdb231dcca949ed4fb14712d033a5801d36
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions