From 447fd30d21a4810fba4992e6b4467f2ef9201f0f Mon Sep 17 00:00:00 2001 From: Polina Bondarenko <pbond@google.com> Date: Wed, 9 Mar 2016 18:13:11 +0100 Subject: [PATCH] Renamed hardwareproperties to hardware_properties Bug: 27531271 Change-Id: I3c5eee86d09696373ab155f93ba6c85da224cb51 --- gatekeeperd.te | 2 +- service.te | 2 +- service_contexts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gatekeeperd.te b/gatekeeperd.te index 051daca69..e394af332 100644 --- a/gatekeeperd.te +++ b/gatekeeperd.te @@ -25,6 +25,6 @@ allow gatekeeperd gatekeeper_data_file:dir rw_dir_perms; allow gatekeeperd gatekeeper_data_file:file create_file_perms; # For hardware properties retrieval -allow gatekeeperd hardwareproperties_service:service_manager find; +allow gatekeeperd hardware_properties_service:service_manager find; neverallow { domain -gatekeeperd } gatekeeper_service:service_manager add; diff --git a/service.te b/service.te index e33fd7a35..ae625907d 100644 --- a/service.te +++ b/service.te @@ -55,7 +55,7 @@ type fingerprint_service, app_api_service, system_server_service, service_manage type gfxinfo_service, system_api_service, system_server_service, service_manager_type; type graphicsstats_service, app_api_service, system_server_service, service_manager_type; type hardware_service, system_server_service, service_manager_type; -type hardwareproperties_service, app_api_service, system_server_service, service_manager_type; +type hardware_properties_service, app_api_service, system_server_service, service_manager_type; type hdmi_control_service, system_api_service, system_server_service, service_manager_type; type input_method_service, app_api_service, system_server_service, service_manager_type; type input_service, app_api_service, system_server_service, service_manager_type; diff --git a/service_contexts b/service_contexts index 6d8b07f09..9410e3b4f 100644 --- a/service_contexts +++ b/service_contexts @@ -44,7 +44,7 @@ android.hardware.fingerprint.IFingerprintDaemon u:object_r:fingerprintd_service: gfxinfo u:object_r:gfxinfo_service:s0 graphicsstats u:object_r:graphicsstats_service:s0 hardware u:object_r:hardware_service:s0 -hardwareproperties u:object_r:hardwareproperties_service:s0 +hardware_properties u:object_r:hardware_properties_service:s0 hdmi_control u:object_r:hdmi_control_service:s0 inputflinger u:object_r:inputflinger_service:s0 input_method u:object_r:input_method_service:s0 -- GitLab