Move qtelephony from system user

- change from system user to user app
- remove unneeded and add necessary rules

Change-Id: Ic8dbb8da47f31fedddf2c8e3f07abfdfde0cb804
CRs-Fixed: 2215452
This commit is contained in:
Wileen Chiu
2018-03-28 16:12:33 -07:00
committed by Gerrit - the friendly Code Review server
parent b3191052f3
commit 540003b3b6
2 changed files with 5 additions and 9 deletions

View File

@@ -30,13 +30,9 @@ typeattribute qtelephony coredomain;
app_domain(qtelephony)
allow qtelephony { app_api_service system_api_service }:service_manager find;
# Read and write /data/data subdirectory.
allow qtelephony system_app_data_file:dir create_dir_perms;
allow qtelephony system_app_data_file:{ file lnk_file } create_file_perms;
hwbinder_use(qtelephony);
allow qtelephony system_file:dir r_dir_perms;
get_prop(qtelephony, hwservicemanager_prop);
add_hwservice(qtelephony, hal_atfwd_hwservice);
allow qtelephony system_api_service:service_manager find;
allow qtelephony app_api_service:service_manager find;

View File

@@ -8,5 +8,5 @@ user=_app seinfo=tango name=com.google.tango:app domain=untrusted_app type=app_d
#Needed for time service apk
user=_app seinfo=platform name=com.qualcomm.timeservice domain=timeservice_app type=app_data_file
# AtFwd and FastDormancy apps
user=system seinfo=platform name=com.qualcomm.telephony domain=qtelephony type=system_app_data_file
# AtFwd app
user=_app seinfo=platform name=com.qualcomm.telephony domain=qtelephony type=app_data_file levelFrom=all