Camera: Allow rw access to TEE devices
This is to enable face authentication on P23 devices. Bug: 278898746 Test: Build, face authentication Change-Id: I75311770a9780e0d97a9240b589e4e4cd9e2dc56
This commit is contained in:
parent
4cd8d2fef9
commit
57d920f582
1 changed files with 2 additions and 0 deletions
2
vendor/hal_camera_default.te
vendored
2
vendor/hal_camera_default.te
vendored
|
@ -7,6 +7,8 @@ allow hal_camera_default lwis_device:chr_file rw_file_perms;
|
|||
|
||||
# Face authentication code that is part of the camera HAL needs to allocate
|
||||
# dma_bufs and access the Trusted Execution Environment device node
|
||||
allow hal_camera_default dmabuf_system_heap_device:chr_file r_file_perms;
|
||||
allow hal_camera_default tee_device:chr_file rw_file_perms;
|
||||
|
||||
# Allow the camera hal to access the EdgeTPU service and the
|
||||
# Android shared memory allocated by the EdgeTPU service for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue