diff --git a/private/adbd.te b/private/adbd.te index 5b0b8f22ac198e7a675fb19048953c4eefc1f4fd..1865b2a101d163a0713d9fcf088f66e773da7076 100644 --- a/private/adbd.te +++ b/private/adbd.te @@ -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;