Camera: add setsched capability.
The camera HAL needs to configure schedule policies for performance optimizations. Bug: 228632527 Test: adb logcat Change-Id: Ifbf433c026549ca774a9521704d0b0b75c9e9f23 Merged-In: Ifbf433c026549ca774a9521704d0b0b75c9e9f23 Signed-off-by: Edmond Chung <edmondchung@google.com>
This commit is contained in:
parent
e48b455651
commit
99b4aebb6a
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue