Add P22 reverse wireless charging selinux policy

Allow Settings to call hal_wlc

Error:

05-13 09:28:20.508  1000  7293  7293 W ndroid.settings: type=1400 audit(0.0:29): avc: denied { call } for scontext=u:r:system_app:s0 tcontext=u:r:hal_wlc:s0 tclass=binder permissive=0

Bug: 231420451
Test: Enable battery share from settings and charge another device.
Change-Id: Ic761bee47ea41f6db8b1838fb3fc2a9f7ef7bb5c
This commit is contained in:
Austin Wang 2022-05-13 13:52:45 +08:00 committed by TreeHugger Robot
parent 95845654bf
commit e5f8377849

View file

@ -1 +1,2 @@
allow system_app hal_wlc_hwservice:hwservice_manager find;
binder_call(system_app, hal_wlc)