Allow adbd to use graphics fds
Bug: 35708449 Test: AS screen capture Change-Id: I53f1604e1ee9c9b32c6932f1b8944708f5012e5f
This commit is contained in:
parent
3355de1398
commit
8585788d9f
1 changed files with 3 additions and 0 deletions
|
@ -70,6 +70,9 @@ binder_call(adbd, surfaceflinger)
|
|||
allow adbd gpu_device:chr_file rw_file_perms;
|
||||
allow adbd ion_device:chr_file rw_file_perms;
|
||||
r_dir_file(adbd, system_file)
|
||||
# Needed for Android Studio screenshot
|
||||
hwbinder_use(adbd)
|
||||
allow adbd hal_graphics_allocator:fd use;
|
||||
|
||||
# Read /data/misc/adb/adb_keys.
|
||||
allow adbd adb_keys_file:dir search;
|
||||
|
|
Loading…
Reference in a new issue