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
This commit is contained in:
Andy Hsu 2022-05-31 17:59:26 +08:00
parent 2a7ecbdce0
commit 1240fdefbb

View file

@ -15,4 +15,7 @@ userdebug_or_eng(`
# Allows camera app to search for GXP firmware file.
allow debug_camera_app vendor_fw_file:dir search;
')
# Allows camera app to access the PowerHAL.
hal_client_domain(debug_camera_app, hal_power)
')