From 8f4fa5158e057de807beed2a3cf4e90d6cdc8d4d Mon Sep 17 00:00:00 2001 From: Chris Thornton Date: Tue, 11 Apr 2017 20:57:57 -0700 Subject: [PATCH] The sound trigger hal needs to talk to /dev/wcd_dsp0_control for hotword. Test: Ran on device after modifying policy Change-Id: I0971a914fd50bcfb7d1823183950c45d2632cc42 --- sepolicy/file_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index ceb45b4e..4b1bc026 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -23,6 +23,7 @@ /dev/adsprpc-smd u:object_r:qdsp_device:s0 /dev/sdsprpc-smd u:object_r:dsp_device:s0 /dev/wcd-dsp-glink u:object_r:audio_device:s0 +/dev/wcd_dsp0_control u:object_r:audio_device:s0 /dev/msm_.* u:object_r:audio_device:s0 /dev/avtimer u:object_r:avtimer_device:s0 /dev/subsys_.* u:object_r:ssr_device:s0