Commits
Jindong committed 3c5115b8b4b
MA-12911 extcon: system_server can not access extcon/state node After system boot up, the original extcon/state need read by WiredAccessoryManager.java to check if HDMI/Headphone/Line-out device is avaiable. The selinux erro like below: avc: denied { open } for pid=355 comm="system_server" path="/sys/devices/soc0/soc/20e0000.hdmi_video/extco n/extcon0/state" dev="sysfs" ino=12955 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 Now change these node to sysfs_extcon label. Change-Id: I99c499c5be30a3610cc53924b1773c8cb17883c8 Signed-off-by: Jindong <jindong.yue@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/6098 Reviewed-by: zhang sanshan <sanshan.zhang@nxp.com>