Skip to content
Snippets Groups Projects
Commit 7bd7d417 authored by Steven Moreland's avatar Steven Moreland
Browse files

adbd: use hal_client_domain

Bug: 36546152
Bug: 36278706

Test: `adb shell screencap ...` and pull and visually verify image.
Change-Id: Iab2ddcfc145cb7f55104cd8f1ce0d58286bca282
parent 73a6f38b
No related branches found
No related tags found
No related merge requests found
......@@ -71,9 +71,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;
# Needed for various screenshots
hal_client_domain(adbd, hal_graphics_allocator)
# Read /data/misc/adb/adb_keys.
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