Camera: add setsched capability.

The camera HAL needs to configure schedule policies for
performance optimizations.

Bug: 228632527
Test: GCA, adb logcat
Change-Id: Ifbf433c026549ca774a9521704d0b0b75c9e9f23
This commit is contained in:
Edmond Chung 2022-04-24 15:41:21 -07:00
parent 11770d9dfe
commit 2715a08a73

View file

@ -1,6 +1,7 @@
type hal_camera_default_tmpfs, file_type; type hal_camera_default_tmpfs, file_type;
allow hal_camera_default self:global_capability_class_set sys_nice; allow hal_camera_default self:global_capability_class_set sys_nice;
allow hal_camera_default kernel:process setsched;
binder_use(hal_camera_default); binder_use(hal_camera_default);
vndbinder_use(hal_camera_default); vndbinder_use(hal_camera_default);