Use hidl memory from allocator in CAS
Make mediaextractor use hidl memory allocated by hidl allocator, instead of constructing hidl memory from IMemory. bug: 112766913 bug: 111407253 Change-Id: I7902f18768005c995925bc9a7947299e9988b68a (Needed for internal commit I39e131718ea41f9cb23177c28213ddf7b7741338)
This commit is contained in:
parent
b209cb9670
commit
404e40c6c1
2 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,7 @@ allow mediaextractor hidl_token_hwservice:hwservice_manager find;
|
|||
allow mediaextractor system_server:fd use;
|
||||
|
||||
hal_client_domain(mediaextractor, hal_cas)
|
||||
hal_client_domain(mediaextractor, hal_allocator)
|
||||
|
||||
r_dir_file(mediaextractor, cgroup)
|
||||
allow mediaextractor proc_meminfo:file r_file_perms;
|
||||
|
|
2
vendor/hal_cas_default.te
vendored
2
vendor/hal_cas_default.te
vendored
|
@ -6,3 +6,5 @@ init_daemon_domain(hal_cas_default)
|
|||
|
||||
# Allow CAS HAL's default implementation to use vendor-binder service
|
||||
vndbinder_use(hal_cas_default);
|
||||
|
||||
allow hal_cas_default hal_allocator:fd use;
|
||||
|
|
Loading…
Reference in a new issue