Merge "adbd: use hal_client_domain" am: 5a9410cf7a
am: aa5feec9f3
Change-Id: I3ba818c67e9134161dfd9c74d9fdb52f0bd51bef
diff --git a/private/adbd.te b/private/adbd.te
index 9b84603..73302ac 100644
--- a/private/adbd.te
+++ b/private/adbd.te
@@ -71,9 +71,9 @@
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;