Merge "Allow HWC to be binderized"

This commit is contained in:
Treehugger Robot 2017-02-06 23:45:27 +00:00 committed by Gerrit Code Review
commit 43916281b7
2 changed files with 5 additions and 1 deletions

View file

@ -61,7 +61,11 @@ allow surfaceflinger tee_device:chr_file rw_file_perms;
# media.player service
add_service(surfaceflinger, gpu_service)
add_service(surfaceflinger, surfaceflinger_service)
# do not use add_service() as hal_graphics_composer_default may be the
# provider as well
#add_service(surfaceflinger, surfaceflinger_service)
allow surfaceflinger surfaceflinger_service:service_manager { add find };
allow surfaceflinger mediaserver_service:service_manager find;
allow surfaceflinger permission_service:service_manager find;