summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHongwei Wang <hwwang@google.com>2018-03-21 18:32:35 -0700
committerHongwei Wang <hwwang@google.com>2018-03-21 18:32:35 -0700
commit2d5d7ed29b9f77c2ffebc7199331ab72d8d3427b (patch)
tree3b333218bfd550bb017c955b7856808207f759e6
parente22a253797c82d48a6a48fec7bd96776b8521b46 (diff)
downloadcar-2d5d7ed29b9f77c2ffebc7199331ab72d8d3427b.tar.gz
Fixed the typo in hwservice_contexts
Bug: 76117372 Test: run on emulator Change-Id: Icaf723569e9f477231ddb06316e5a0d642f6a597
-rw-r--r--common/sepolicy/hwservice_contexts2
-rw-r--r--common/sepolicy/system_app.te1
2 files changed, 2 insertions, 1 deletions
diff --git a/common/sepolicy/hwservice_contexts b/common/sepolicy/hwservice_contexts
index 2c0ef53..d46c4c3 100644
--- a/common/sepolicy/hwservice_contexts
+++ b/common/sepolicy/hwservice_contexts
@@ -1,2 +1,2 @@
-android.hardware.automotive.vehicle::IAudioControl u:object_r:hal_audiocontrol_hwservice:s0
+android.hardware.automotive.audiocontrol::IAudioControl u:object_r:hal_audiocontrol_hwservice:s0
android.hardware.automotive.vehicle::IVehicle u:object_r:hal_vehicle_hwservice:s0
diff --git a/common/sepolicy/system_app.te b/common/sepolicy/system_app.te
index b09239c..102f77f 100644
--- a/common/sepolicy/system_app.te
+++ b/common/sepolicy/system_app.te
@@ -1 +1,2 @@
+allow system_app hal_audiocontrol_hwservice:hwservice_manager find;
allow system_app hal_vehicle_hwservice:hwservice_manager find;