Fix WLC charging sign

android.hardwar: type=1400 audit(0.0:4): avc:  denied  { getattr } for  path="/sys/devices/platform/10ca0000.hsi2c/i2c-10/10-0061/power_supply/wireless/capacity" dev="sysfs" ino=79124 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

Bug: 329564860
Change-Id: Ia5d5e2e1b05f64ae14afaa0c25deee31a859dcbc
Signed-off-by: YiHsiang Peng <yihsiangpeng@google.com>
This commit is contained in:
YiHsiang Peng 2024-03-20 13:48:51 +00:00 committed by Yi-Hsiang Peng
parent 5ea33555b2
commit 35858317eb

1
vendor/genfs_contexts vendored Normal file
View file

@ -0,0 +1 @@
genfscon sysfs /devices/platform/10ca0000.hsi2c/i2c-10/10-0061/power_supply u:object_r:sysfs_batteryinfo:s0