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:
Treehugger Robot 2024-03-20 17:03:56 +00:00 committed by Automerger Merge Worker
commit 87e37ae020

View file

@ -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)