[ALPS04414154] Backlight: set factory as an client of hal_light

[Detail]
Set factory as an client of hal_light,
so that factory can access hal_light service

MTK-Commit-Id: aa59bfbc9d04a2ede701ff67e6ae587f6e5c4394

Change-Id: I86ddb045d73175f10ee57061150a387394009967
CR-Id: ALPS04414154
Feature: Factory Mode
This commit is contained in:
mtk14723 2020-01-18 10:11:47 +08:00
parent 30e74341f8
commit ce2ae4de97

View File

@ -316,7 +316,8 @@ allow factory sysfs_wake_lock:file rw_file_perms;
#allow factory system_file:file x_file_perms;
# For Light HIDL permission
#allow factory hal_light_hwservice:hwservice_manager find;
hal_client_domain(factory, hal_light);
allow factory hal_light_hwservice:hwservice_manager find;
allow factory mtk_hal_light:binder call;
allow factory merged_hal_service:binder call;
# For vibrator test permission