Skip to content
Snippets Groups Projects
Commit 49ed0cd6 authored by Mathias Agopian's avatar Mathias Agopian
Browse files

Allow apps to access the graphic allocator HAL

Test: take a screenshot
Test: run CTS ImageReaderTest
Bug: 36194109

Change-Id: I5db2addd726a66140b707d2d23d3480efcaa90bd
parent 05765ed9
No related branches found
No related tags found
No related merge requests found
...@@ -243,7 +243,8 @@ allow { appdomain -isolated_app } ion_device:chr_file rw_file_perms; ...@@ -243,7 +243,8 @@ allow { appdomain -isolated_app } ion_device:chr_file rw_file_perms;
# TODO is write really necessary ? # TODO is write really necessary ?
auditallow { appdomain userdebug_or_eng(`-su') } ion_device:chr_file { write append }; auditallow { appdomain userdebug_or_eng(`-su') } ion_device:chr_file { write append };
allow { appdomain -isolated_app } hal_graphics_allocator:fd use; # Allow app to access the graphic allocator HAL
binder_call({ appdomain -isolated_app }, hal_graphics_allocator)
# Allow app to access shared memory created by camera HAL1 # Allow app to access shared memory created by camera HAL1
allow { appdomain -isolated_app } hal_camera:fd use; allow { appdomain -isolated_app } hal_camera:fd use;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment