Skip to content
Snippets Groups Projects
Commit 8585788d authored by Chia-I Wu's avatar Chia-I Wu
Browse files

Allow adbd to use graphics fds

Bug: 35708449
Test: AS screen capture
Change-Id: I53f1604e1ee9c9b32c6932f1b8944708f5012e5f
parent 3355de13
No related branches found
No related tags found
No related merge requests found
...@@ -70,6 +70,9 @@ binder_call(adbd, surfaceflinger) ...@@ -70,6 +70,9 @@ binder_call(adbd, surfaceflinger)
allow adbd gpu_device:chr_file rw_file_perms; allow adbd gpu_device:chr_file rw_file_perms;
allow adbd ion_device:chr_file rw_file_perms; allow adbd ion_device:chr_file rw_file_perms;
r_dir_file(adbd, system_file) 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. # Read /data/misc/adb/adb_keys.
allow adbd adb_keys_file:dir search; allow adbd adb_keys_file:dir search;
......
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