diff --git a/private/adbd.te b/private/adbd.te index 9b84603d056b7902b3bc9b9d07f008c8c7fefe93..73302acd169918e36455a07e3703aab478830bc4 100644 --- a/private/adbd.te +++ b/private/adbd.te @@ -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;