Add policy to allow debug camera app (GCAEng and locally built GCANext) to access HAL to apply CPU/GPU boost on userdebug builds.
Bug: 233998391
Test: Boost applied successfully for all flavors b/233998391#comment15. GCA.
Change-Id: If339705cf4daec0f12e81c2c8efdc1eb4a063267
diff --git a/whitechapel_pro/debug_camera_app.te b/whitechapel_pro/debug_camera_app.te
index 7c14ef0..50379b5 100644
--- a/whitechapel_pro/debug_camera_app.te
+++ b/whitechapel_pro/debug_camera_app.te
@@ -15,4 +15,7 @@
# Allows camera app to search for GXP firmware file.
allow debug_camera_app vendor_fw_file:dir search;
-')
\ No newline at end of file
+
+ # Allows camera app to access the PowerHAL.
+ hal_client_domain(debug_camera_app, hal_power)
+')