Skip to content
Snippets Groups Projects
Commit 312e7eaa authored by Mathias Agopian's avatar Mathias Agopian Committed by Alex Klyubin
Browse files

Allow apps to access the graphic allocator HAL

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

(cherry picked from commit 49ed0cd6)

Change-Id: I331bce37b35e30084ba9f7ecd063a344a79c5232
parent 156ccbb2
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