Merge "Cameraserver: Allow camera to switch thread scheduling policy" into main am: b637f1a413
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/3006725 Change-Id: I0f7581ae4ae24e1c312416cef1a7cab2331a1436 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
87e37ae020
1 changed files with 3 additions and 0 deletions
|
@ -70,6 +70,9 @@ allow cameraserver shell:fd use;
|
|||
allow cameraserver shell:unix_stream_socket { read write };
|
||||
allow cameraserver shell:fifo_file { read write };
|
||||
|
||||
# allow self to set SCHED_FIFO
|
||||
allow cameraserver self:global_capability_class_set sys_nice;
|
||||
|
||||
# Allow to talk with media codec
|
||||
allow cameraserver mediametrics_service:service_manager find;
|
||||
hal_client_domain(cameraserver, hal_codec2)
|
||||
|
|
Loading…
Reference in a new issue